(module (type $FUNCSIG$v (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) (nop) (drop (get_global $a-global) ) (drop (get_global $b-global) ) ) )