summaryrefslogtreecommitdiff
path: root/test/lit/binary/bad-multivalue-block.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit/binary/bad-multivalue-block.test')
-rw-r--r--test/lit/binary/bad-multivalue-block.test16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/lit/binary/bad-multivalue-block.test b/test/lit/binary/bad-multivalue-block.test
new file mode 100644
index 000000000..8b100fe89
--- /dev/null
+++ b/test/lit/binary/bad-multivalue-block.test
@@ -0,0 +1,16 @@
+;; Test that we error properly on a block with a bad multivalue (inputs).
+
+;; File contents:
+;;
+;; (module
+;; (func $test
+;; i32.const 0
+;; (block (param i32)
+;; drop
+;; )
+;; )
+;; )
+
+;; RUN: not wasm-opt -all %s.wasm 2>&1 | filecheck %s
+
+;; CHECK: control flow inputs are not supported yet