summaryrefslogtreecommitdiff
path: root/test/parse/module/bad-start-not-nullary.txt
blob: 1ef48d14cbc2d9e98b658b47395f04f63964d5ed (plain)
1
2
3
4
5
6
7
8
9
10
;;; TOOL: wat2wasm
;;; ERROR: 1
(module
  (start 0)
  (func (param i32)))
(;; STDERR ;;;
out/test/parse/module/bad-start-not-nullary.txt:4:4: error: start function must be nullary
  (start 0)
   ^^^^^
;;; STDERR ;;)