summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-if-sig-multi.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse/expr/bad-if-sig-multi.txt')
-rw-r--r--test/parse/expr/bad-if-sig-multi.txt16
1 files changed, 14 insertions, 2 deletions
diff --git a/test/parse/expr/bad-if-sig-multi.txt b/test/parse/expr/bad-if-sig-multi.txt
index 5f7c25a0..e987c504 100644
--- a/test/parse/expr/bad-if-sig-multi.txt
+++ b/test/parse/expr/bad-if-sig-multi.txt
@@ -11,9 +11,21 @@
i32.const 4
end
drop
- drop))
+ drop)
+
+ (func
+ i32.const 1
+ i32.const 2
+ if (param i32)
+ drop
+ else
+ drop
+ end))
(;; STDERR ;;;
-out/test/parse/expr/bad-if-sig-multi.txt:6:5: error: multiple if signature result types not currently supported.
+out/test/parse/expr/bad-if-sig-multi.txt:6:5: error: multiple if results not currently supported.
if (result i32 i32)
^^
+out/test/parse/expr/bad-if-sig-multi.txt:19:5: error: if params not currently supported.
+ if (param i32)
+ ^^
;;; STDERR ;;)