diff options
Diffstat (limited to 'test/wasm-only.fromasm.no-opts')
-rw-r--r-- | test/wasm-only.fromasm.no-opts | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/test/wasm-only.fromasm.no-opts b/test/wasm-only.fromasm.no-opts index 4d52a2eab..1c3a0bf5c 100644 --- a/test/wasm-only.fromasm.no-opts +++ b/test/wasm-only.fromasm.no-opts @@ -14,6 +14,7 @@ (export "test64" (func $test64)) (export "illegalParam" (func $legalstub$illegalParam)) (export "illegalResult" (func $legalstub$illegalResult)) + (export "keepAlive" (func $keepAlive)) (func $loads (local $i i32) (local $f f32) @@ -759,6 +760,47 @@ (get_local $$waka) ) ) + (func $keepAlive + (call $loads) + (call $stores) + (call $test) + (drop + (call $imports) + ) + (call $arg + (i64.const 0) + ) + (drop + (call $call1 + (i64.const 0) + ) + ) + (drop + (call $call2 + (i64.const 0) + ) + ) + (drop + (call $returnCastConst) + ) + (drop + (call $ifValue64 + (i64.const 0) + (i64.const 0) + ) + ) + (drop + (call $ifValue32 + (i32.const 0) + (i32.const 0) + ) + ) + (drop + (call $switch64 + (i64.const 0) + ) + ) + ) (func $legalstub$illegalParam (param $0 i32) (param $1 i32) (param $2 i32) (param $3 f64) (call $illegalParam (get_local $0) |