Add a test for wildcard exports (#499)

This commit is contained in:
Aaron Turner
2019-02-21 02:38:56 -08:00
committed by Daniel Wirtz
parent c2a0a34b4c
commit 11ea78bc13
4 changed files with 68 additions and 0 deletions

View 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
)
)