summaryrefslogtreecommitdiff
path: root/test/unit.fromasm
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit.fromasm')
-rw-r--r--test/unit.fromasm11
1 files changed, 7 insertions, 4 deletions
diff --git a/test/unit.fromasm b/test/unit.fromasm
index 58272fae8..fd0fb27a0 100644
--- a/test/unit.fromasm
+++ b/test/unit.fromasm
@@ -696,11 +696,14 @@
)
)
(call $loadSigned
- (i32.shl
- (i32.load16_s
- (get_local $0)
+ (i32.shr_s
+ (i32.shl
+ (i32.load16_u
+ (get_local $0)
+ )
+ (i32.const 24)
)
- (i32.const 8)
+ (i32.const 16)
)
)
)