summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-binary-one-expr.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse/expr/bad-binary-one-expr.txt')
-rw-r--r--test/parse/expr/bad-binary-one-expr.txt14
1 files changed, 8 insertions, 6 deletions
diff --git a/test/parse/expr/bad-binary-one-expr.txt b/test/parse/expr/bad-binary-one-expr.txt
index 716cd6e1..3422ea32 100644
--- a/test/parse/expr/bad-binary-one-expr.txt
+++ b/test/parse/expr/bad-binary-one-expr.txt
@@ -1,10 +1,12 @@
;;; ERROR: 1
-(module (func (i32.add (i32.const 0))))
+(module (func
+ i32.const 0
+ i32.add))
(;; STDERR ;;;
-parse/expr/bad-binary-one-expr.txt:2:16: type stack size too small at i32.add. got 1, expected at least 2
-(module (func (i32.add (i32.const 0))))
- ^^^^^^^
+parse/expr/bad-binary-one-expr.txt:4:4: type stack size too small at i32.add. got 1, expected at least 2
+ i32.add))
+ ^^^^^^^
parse/expr/bad-binary-one-expr.txt:2:9: type stack at end of function is 2. expected 0
-(module (func (i32.add (i32.const 0))))
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+(module (func
+ ^^^
;;; STDERR ;;)