diff options
Diffstat (limited to 'test/parse/expr/bad-const-i32-just-negative-sign.txt')
-rw-r--r-- | test/parse/expr/bad-const-i32-just-negative-sign.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/parse/expr/bad-const-i32-just-negative-sign.txt b/test/parse/expr/bad-const-i32-just-negative-sign.txt new file mode 100644 index 00000000..141c66fd --- /dev/null +++ b/test/parse/expr/bad-const-i32-just-negative-sign.txt @@ -0,0 +1,7 @@ +;;; ERROR: 1 +(module + (func (i32.const -))) +(;; STDERR ;;; +parse/expr/bad-const-i32-just-negative-sign.txt:3:20: unexpected token "-" +parse/expr/bad-const-i32-just-negative-sign.txt:3:21: syntax error, unexpected ), expecting INT or FLOAT +;;; STDERR ;;) |