assemblyscript/tests/compiler/export-default.untouched.wat
dcode fa667386d9 Initial support for default imports/exports, see #98
Does not implement combinations like 'import theDefault, *' yet
2019-06-04 08:57:33 +02:00

15 lines
354 B
Plaintext

(module
(type $FUNCSIG$v (func))
(memory $0 0)
(table $0 1 funcref)
(elem (i32.const 0) $null)
(export "memory" (memory $0))
(export "theDefault" (func $export-default/theDefault))
(export "default" (func $export-default/theDefault))
(func $export-default/theDefault (; 0 ;) (type $FUNCSIG$v)
nop
)
(func $null (; 1 ;) (type $FUNCSIG$v)
)
)