summaryrefslogtreecommitdiff
path: root/test/lit/parse-bad-block-params.wast
blob: 67e05989ce679f4947970a16d4b5c6045b568c23 (plain)
1
2
3
4
5
6
7
8
9
10
11
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)
    )
  )
)