diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/lit/parse-bad-block-params.wast | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/lit/parse-bad-block-params.wast b/test/lit/parse-bad-block-params.wast new file mode 100644 index 000000000..67e05989c --- /dev/null +++ b/test/lit/parse-bad-block-params.wast @@ -0,0 +1,12 @@ +;; RUN: not wasm-opt %s -S -o - 2>&1 | filecheck %s + +;; CHECK: 8:11: error: block parameters not yet supported + +(module + (func + (i32.const 0) + (block (param i32) + (drop) + ) + ) +) |