summaryrefslogtreecommitdiff
path: root/test/hello_world.fromasm.imprecise
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-03-20 17:08:52 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-03-20 17:39:21 -0700
commitda80a33ba574ae76e5f560e53b8c0c8ac6edefb2 (patch)
tree76f6fad3135cd8c65de15fd4006308ae53306032 /test/hello_world.fromasm.imprecise
parent2fc279ed7e106a01aa0529ead93dc3f04af8e77c (diff)
downloadbinaryen-da80a33ba574ae76e5f560e53b8c0c8ac6edefb2.tar.gz
binaryen-da80a33ba574ae76e5f560e53b8c0c8ac6edefb2.tar.bz2
binaryen-da80a33ba574ae76e5f560e53b8c0c8ac6edefb2.zip
add option for imprecise asm2wasm opts
Diffstat (limited to 'test/hello_world.fromasm.imprecise')
-rw-r--r--test/hello_world.fromasm.imprecise13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/hello_world.fromasm.imprecise b/test/hello_world.fromasm.imprecise
new file mode 100644
index 000000000..435e41a60
--- /dev/null
+++ b/test/hello_world.fromasm.imprecise
@@ -0,0 +1,13 @@
+(module
+ (memory 256 256)
+ (export "memory" memory)
+ (export "add" $add)
+ (func $add (param $x i32) (param $y i32) (result i32)
+ (return
+ (i32.add
+ (get_local $x)
+ (get_local $y)
+ )
+ )
+ )
+)