first pass at splitting out a test, making ctx/errno reusable
This commit is contained in:
8
tests/trivial.witx
Normal file
8
tests/trivial.witx
Normal 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))
|
||||
)
|
||||
Reference in New Issue
Block a user