mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-07-29 05:02:11 +00:00
Namespaces
This commit is contained in:
12
tests/compiler/namespace.optimized.wast
Normal file
12
tests/compiler/namespace.optimized.wast
Normal file
@@ -0,0 +1,12 @@
|
||||
(module
|
||||
(type $v (func))
|
||||
(memory $0 1)
|
||||
(export "test" (func $namespace/test))
|
||||
(export "memory" (memory $0))
|
||||
(func $namespace/Outer.Inner.aFunc (; 0 ;) (type $v)
|
||||
(nop)
|
||||
)
|
||||
(func $namespace/test (; 1 ;) (type $v)
|
||||
(call $namespace/Outer.Inner.aFunc)
|
||||
)
|
||||
)
|
Reference in New Issue
Block a user