summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-call-too-many.txt
blob: 4f4a7494c8a78c5907babb11b8db22c9cf600a16 (plain)
1
2
3
4
5
6
7
8
9
;;; ERROR: 1
(module
  (func (param i32 i64)
    (call 0 (i32.const 0) (i64.const 0) (f32.const 0))))
(;; STDERR ;;;
parse/expr/bad-call-too-many.txt:4:5: too many parameters to function in call. got 3, expected 2
    (call 0 (i32.const 0) (i64.const 0) (f32.const 0))))
    ^
;;; STDERR ;;)