diff options
Diffstat (limited to 'test/example/c-api-hello-world.txt')
-rw-r--r-- | test/example/c-api-hello-world.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/example/c-api-hello-world.txt b/test/example/c-api-hello-world.txt new file mode 100644 index 000000000..4360107d3 --- /dev/null +++ b/test/example/c-api-hello-world.txt @@ -0,0 +1,10 @@ +(module + (memory 0) + (type $iii (func (param i32 i32) (result i32))) + (func $adder (type $iii) (param $0 i32) (param $1 i32) (result i32) + (i32.add + (get_local $0) + (get_local $1) + ) + ) +) |