summaryrefslogtreecommitdiff
path: root/test/lit/binary/bad-multivalue-block.test
blob: 8b100fe89ed8e56610d88765a3f6a65fb9b41a64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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