diff options
Diffstat (limited to 'test/parse/expr/bad-if-sig-multi.txt')
-rw-r--r-- | test/parse/expr/bad-if-sig-multi.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/parse/expr/bad-if-sig-multi.txt b/test/parse/expr/bad-if-sig-multi.txt new file mode 100644 index 00000000..44ef8189 --- /dev/null +++ b/test/parse/expr/bad-if-sig-multi.txt @@ -0,0 +1,18 @@ +;;; ERROR: 1 +(module + (func + i32.const 1 + if i32 i32 + i32.const 1 + i32.const 2 + else + i32.const 3 + i32.const 4 + end + drop + drop)) +(;; STDERR ;;; +out/test/parse/expr/bad-if-sig-multi.txt:5:5: multiple if signature result types not currently supported. + if i32 i32 + ^^ +;;; STDERR ;;) |