Fix wat syntax so wasm tests pass (#199)

* wasm testsuite: ignore hidden files in test dir

and report a rejected file. it was picking up vim .swp files

* wasmtests: correct wat syntax in icall.wat
This commit is contained in:
Pat Hickey
2017-11-27 12:46:53 -08:00
committed by Dan Gohman
parent b5601d57c8
commit cced2c8b0c
2 changed files with 11 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
(module
(type $ft (func (param f32) (result i32)))
(func $foo (export "foo") (param i32 f32) (result i32)
(call_indirect $ft (get_local 1) (get_local 0))
(call_indirect (type $ft) (get_local 1) (get_local 0))
)
(table (;0;) 23 23 anyfunc)
)