assemblyscript/tests/compiler/typealias.untouched.wat

21 lines
458 B
Plaintext
Raw Normal View History

2017-12-20 13:36:39 +01:00
(module
(type $ii (func (param i32) (result i32)))
(type $v (func))
(memory $0 0)
(table $0 1 anyfunc)
(elem (i32.const 0) $null)
(global $HEAP_BASE i32 (i32.const 8))
2017-12-20 13:36:39 +01:00
(export "memory" (memory $0))
(export "table" (table $0))
(export "alias" (func $typealias/alias))
2017-12-20 13:36:39 +01:00
(start $start)
(func $typealias/alias (; 0 ;) (type $ii) (param $0 i32) (result i32)
get_local $0
2017-12-20 13:36:39 +01:00
)
(func $start (; 1 ;) (type $v)
nop
2017-12-20 13:36:39 +01:00
)
(func $null (; 2 ;) (type $v)
)
2017-12-20 13:36:39 +01:00
)