mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-24 04:01:46 +00:00
Allow keywords in named import/export syntax (#107)
This commit is contained in:
committed by
Daniel Wirtz
parent
e415377cda
commit
5ab81a00a1
9
tests/compiler/named-export-default.optimized.wat
Normal file
9
tests/compiler/named-export-default.optimized.wat
Normal file
@ -0,0 +1,9 @@
|
||||
(module
|
||||
(type $i (func (result i32)))
|
||||
(memory $0 1)
|
||||
(export "default" (func $named-export-default/get3))
|
||||
(export "memory" (memory $0))
|
||||
(func $named-export-default/get3 (; 0 ;) (type $i) (result i32)
|
||||
(i32.const 3)
|
||||
)
|
||||
)
|
Reference in New Issue
Block a user