summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-const-i32-just-negative-sign.txt
blob: 01578a0356b2d6982b36ad40422f2be423855b95 (plain)
1
2
3
4
5
6
7
8
9
10
11
;;; ERROR: 1
(module
  (func (i32.const -)))
(;; STDERR ;;;
parse/expr/bad-const-i32-just-negative-sign.txt:3:20: unexpected token "-"
  (func (i32.const -)))
                   ^
parse/expr/bad-const-i32-just-negative-sign.txt:3:21: syntax error, unexpected ), expecting INT or FLOAT
  (func (i32.const -)))
                    ^
;;; STDERR ;;)