summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/passes/O1.wast6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/passes/O1.wast b/test/passes/O1.wast
index 87b06b063..6c1f3abda 100644
--- a/test/passes/O1.wast
+++ b/test/passes/O1.wast
@@ -14,6 +14,12 @@
)
)
)
+ (func $signed-overflow (param $0 f32) (result i32)
+ (i32.sub
+ (i32.const 268435456)
+ (i32.const -2147483648)
+ )
+ )
)