summaryrefslogtreecommitdiff
path: root/test/wasm2js/emscripten.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/emscripten.wast')
-rw-r--r--test/wasm2js/emscripten.wast21
1 files changed, 20 insertions, 1 deletions
diff --git a/test/wasm2js/emscripten.wast b/test/wasm2js/emscripten.wast
index dd11ee4b2..81a0c697e 100644
--- a/test/wasm2js/emscripten.wast
+++ b/test/wasm2js/emscripten.wast
@@ -27,7 +27,26 @@
(unreachable)
)
(func $bar
- (nop)
+ (drop
+ (i32.load8_u
+ (i32.const 128)
+ )
+ )
+ (drop
+ (i32.load8_s
+ (i32.const 128)
+ )
+ )
+ (drop
+ (i32.load16_u
+ (i32.const 128)
+ )
+ )
+ (drop
+ (i32.load16_s
+ (i32.const 128)
+ )
+ )
)
(func $__growWasmMemory (param $0 i32) (result i32)
(grow_memory