diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/let.wasm | bin | 0 -> 128 bytes | |||
-rw-r--r-- | test/let.wasm.fromBinary | 72 |
2 files changed, 72 insertions, 0 deletions
diff --git a/test/let.wasm b/test/let.wasm Binary files differnew file mode 100644 index 000000000..8a24b7d35 --- /dev/null +++ b/test/let.wasm diff --git a/test/let.wasm.fromBinary b/test/let.wasm.fromBinary new file mode 100644 index 000000000..1de54a96d --- /dev/null +++ b/test/let.wasm.fromBinary @@ -0,0 +1,72 @@ +(module + (type $[mut:f64] (array (mut f64))) + (type $none_=>_none (func)) + (func $0 + (local $0 i32) + (local $1 i32) + (local $2 (ref null $[mut:f64])) + (local $3 (ref null $[mut:f64])) + (local $4 (ref null $[mut:f64])) + (drop + (local.get $0) + ) + (block + (local.set $2 + (array.new_with_rtt $[mut:f64] + (rtt.canon $[mut:f64]) + (i32.const 1) + (f64.const 3.14159) + ) + ) + (block + (drop + (local.get $2) + ) + (drop + (local.get $0) + ) + (block + (local.set $3 + (array.new_with_rtt $[mut:f64] + (rtt.canon $[mut:f64]) + (i32.const 2) + (f64.const 1234) + ) + ) + (block + (drop + (local.get $2) + ) + (drop + (local.get $3) + ) + (drop + (local.get $0) + ) + ) + ) + ) + ) + (block + (local.set $4 + (array.new_with_rtt $[mut:f64] + (rtt.canon $[mut:f64]) + (i32.const 3) + (f64.const 2.1828) + ) + ) + (block + (drop + (local.get $4) + ) + (drop + (local.get $0) + ) + ) + ) + (drop + (local.get $0) + ) + ) +) + |