summaryrefslogtreecommitdiff
path: root/test/regress/regress-17.txt
blob: 5f1c9e64fa3df0834c0f40ae973ff54dddc2b4b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
;;; RUN: %(wast2json)s %(in_file)s
;;; ERROR: 1
(module (func (export "foo") (param i64)))

;; Make sure that the error below has the correct location.
(invoke "foo" (i32.const 1))
(;; STDERR ;;;
out/test/regress/regress-17.txt:6:26: error: type mismatch for argument 0 of invoke. got i32, expected i64
(invoke "foo" (i32.const 1))
                         ^
;;; STDERR ;;)