summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-const-i32-just-negative-sign.txt
blob: 8a12981ddcfc07e6c8b928c11d3ed044f99e9016 (plain)
1
2
3
4
5
6
7
8
9
;;; TOOL: wat2wasm
;;; ERROR: 1
(module
  (func i32.const -))
(;; STDERR ;;;
out/test/parse/expr/bad-const-i32-just-negative-sign.txt:4:19: error: unexpected token "-", expected a numeric literal (e.g. 123, -45, 6.7e8).
  (func i32.const -))
                  ^
;;; STDERR ;;)