summaryrefslogtreecommitdiff
path: root/test/lit/validation/bulk.wast
blob: 5d6755c931db96468bf62bf6a1dac9203bbada8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
;; Test for a validation error on bad usage of call.without.effects

;; RUN: not wasm-opt -all %s 2>&1 | filecheck %s

;; CHECK: data index out of bounds

(module
 (memory $0 16)
 (func $1
  (data.drop 1)
  (unreachable)
 )
)