summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-callimport-too-few.txt
blob: 3c490db315a0335b76c27992410cf632ae325d2c (plain)
1
2
3
4
5
6
7
8
9
10
;;; ERROR: 1
(module
  (import "foo" "bar" (param i32 i32))
  (func
    (call_import 0 (i32.const 0))))
(;; STDERR ;;;
parse/expr/bad-callimport-too-few.txt:5:5: too few parameters to function in call_import. got 1, expected 2
    (call_import 0 (i32.const 0))))
    ^
;;; STDERR ;;)