diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-05-03 17:14:07 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-05-03 17:14:07 -0700 |
commit | 5b2adeb4b2a66dfcda7667ce7a4c27ec49c62b1b (patch) | |
tree | 01dc41e6217c6026e4c97f0fe5bbc28066f79479 /test/example/c-api-hello-world.txt | |
parent | d435670997e524df9707354d468a22432a181411 (diff) | |
parent | fd14d9cfc4cd744a8d143bb6a2622c68f5d33cfd (diff) | |
download | binaryen-5b2adeb4b2a66dfcda7667ce7a4c27ec49c62b1b.tar.gz binaryen-5b2adeb4b2a66dfcda7667ce7a4c27ec49c62b1b.tar.bz2 binaryen-5b2adeb4b2a66dfcda7667ce7a4c27ec49c62b1b.zip |
Merge pull request #427 from WebAssembly/c-api-nice
C API
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) + ) + ) +) |