blob: cee388535220b588d87662a0c850b5fe628d826a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
;;; TOOL: wat2wasm
;;; ARGS: --enable-function-references
;;; ERROR: 1
(module
(func (export "main")
(call_ref
)
)
)
(;; STDERR ;;;
out/test/typecheck/bad-callref-empty.txt:6:6: error: type mismatch in call_ref, expected [reference] but got []
(call_ref
^^^^^^^^
;;; STDERR ;;)
|