first pass at splitting out a test, making ctx/errno reusable

This commit is contained in:
Pat Hickey
2020-02-21 13:51:44 -08:00
parent 0909cf2660
commit 8a110e4b13
6 changed files with 115 additions and 42 deletions

8
tests/trivial.witx Normal file
View File

@@ -0,0 +1,8 @@
(use "errno.witx")
(module $trivial
(@interface func (export "int_float_args")
(param $an_int u32)
(param $an_float f32)
(result $error $errno))
)