blob: 202c566e13d6f938cf6dd5e84e97f2d960db198d [file] [log] [blame] [edit]
(module
(type $FUNCSIG$v (func))
(type $FUNCSIG$v$0 (func))
(import "env" "memory" (memory $0 256))
(import "env" "table" (table 8 anyfunc))
(global $a-global i32 (i32.const 0))
(global $b-global f64 (f64.const 2.14281428))
(export "foo" (func $foo-func))
(export "aglobal" (global $a-global))
(export "bar" (func $bar-func))
(export "bglobal" (global $b-global))
(func $foo-func (type $FUNCSIG$v)
(nop)
(call $bar-func)
(drop
(get_global $a-global)
)
(drop
(get_global $b-global)
)
)
(func $bar-func (type $FUNCSIG$v$0)
(nop)
(drop
(get_global $a-global)
)
(drop
(get_global $b-global)
)
)
)