summaryrefslogtreecommitdiff
path: root/test/binaryen.js/call_import_error.js.txt
blob: 752f17b4924d5b33cf67f409cabed4773c8aa213 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
(module
 (type $v (func))
 (import "env" "fn" (func $fn))
 (export "main" (func $main))
 (func $main (; 1 ;) (type $v)
  (call $fn)
 )
)

[wasm-validator error in function $main] unexpected false: call target must exist, on 
[none] (call $fn)
(perhaps it should be a CallImport instead of Call?)