diff options
Diffstat (limited to 'test/hello_world.fromasm.clamp.no-opts')
-rw-r--r-- | test/hello_world.fromasm.clamp.no-opts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/hello_world.fromasm.clamp.no-opts b/test/hello_world.fromasm.clamp.no-opts new file mode 100644 index 000000000..dae1480b7 --- /dev/null +++ b/test/hello_world.fromasm.clamp.no-opts @@ -0,0 +1,15 @@ +(module + (import "env" "memory" (memory $0 256 256)) + (import "env" "table" (table 0 0 anyfunc)) + (import "env" "memoryBase" (global $memoryBase i32)) + (import "env" "tableBase" (global $tableBase i32)) + (export "add" (func $add)) + (func $add (param $x i32) (param $y i32) (result i32) + (return + (i32.add + (get_local $x) + (get_local $y) + ) + ) + ) +) |