diff options
Diffstat (limited to 'test/reduce/destructive.wast')
-rw-r--r-- | test/reduce/destructive.wast | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/reduce/destructive.wast b/test/reduce/destructive.wast new file mode 100644 index 000000000..65786502f --- /dev/null +++ b/test/reduce/destructive.wast @@ -0,0 +1,10 @@ +(module + (export "x" (func $x)) + (func $x (param $x i32) (result i32) + (if (i32.eq (get_local $x) (i32.const 98658746)) + (unreachable) ;; this can be removed destructively, since we do not sent this param + ) + (i32.const 100) + ) +) + |