summaryrefslogtreecommitdiff
path: root/test/binary/bad-data-drop-no-data-count.txt
blob: fe59adbaff355164b95c3f52b78d1e4adc604aa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
;;; TOOL: run-gen-wasm-bad
magic
version
section(TYPE) { count[1] function params[0] results[0] }
section(FUNCTION) { count[1] type[0] }
section(CODE) {
  count[1]
  func {
    locals[0]
    data.drop 0
  }
}
section(DATA) {
  count[1]
  flags[1]
  data[str("")]
}
(;; STDERR ;;;
0000019: error: data.drop requires data count section
0000019: error: data.drop requires data count section
;;; STDERR ;;)