diff options
Diffstat (limited to 'test/lld/standalone-wasm.wast')
-rw-r--r-- | test/lld/standalone-wasm.wast | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/lld/standalone-wasm.wast b/test/lld/standalone-wasm.wast new file mode 100644 index 000000000..2ccbf3f29 --- /dev/null +++ b/test/lld/standalone-wasm.wast @@ -0,0 +1,20 @@ +(module + (memory $0 2) + (table $0 1 1 funcref) + (elem (i32.const 0) $foo) + (global $global$0 (mut i32) (i32.const 66112)) + (global $global$1 i32 (i32.const 66112)) + (global $global$2 i32 (i32.const 576)) + (export "memory" (memory $0)) + (export "main" (func $main)) + (export "__heap_base" (global $global$1)) + (export "__data_end" (global $global$2)) + (func $__original_main (result i32) + (nop) + ) + (func $main (param $0 i32) (param $1 i32) (result i32) + (call $__original_main) + ) + (func $foo (result i32)) +) + |