mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-23 11:41:45 +00:00
Add a test for wildcard exports (#499)
This commit is contained in:
committed by
Daniel Wirtz
parent
c2a0a34b4c
commit
11ea78bc13
17
tests/compiler/wildcard-export.optimized.wat
Normal file
17
tests/compiler/wildcard-export.optimized.wat
Normal file
@ -0,0 +1,17 @@
|
||||
(module
|
||||
(type $_ (func))
|
||||
(memory $0 0)
|
||||
(table $0 1 funcref)
|
||||
(elem (i32.const 0) $start)
|
||||
(global $export/a i32 (i32.const 1))
|
||||
(global $export/b i32 (i32.const 2))
|
||||
(export "memory" (memory $0))
|
||||
(export "table" (table $0))
|
||||
(export "a" (global $export/a))
|
||||
(export "renamed_a" (global $export/a))
|
||||
(export "renamed_b" (global $export/b))
|
||||
(export "renamed_renamed_b" (global $export/b))
|
||||
(func $start (; 0 ;) (type $_)
|
||||
nop
|
||||
)
|
||||
)
|
Reference in New Issue
Block a user