summaryrefslogtreecommitdiff
path: root/test/harness/wasm2c/stdin_file.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/harness/wasm2c/stdin_file.wast')
-rw-r--r--test/harness/wasm2c/stdin_file.wast5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/harness/wasm2c/stdin_file.wast b/test/harness/wasm2c/stdin_file.wast
new file mode 100644
index 00000000..b585e3d5
--- /dev/null
+++ b/test/harness/wasm2c/stdin_file.wast
@@ -0,0 +1,5 @@
+(module
+ (func (export "x") (param $x i32) (result i32) (unreachable))
+)
+(assert_return (invoke "x" (i32.const 1))
+ (i32.const 1))