diff options
Diffstat (limited to 'test/lld/main_module_table.wat')
-rw-r--r-- | test/lld/main_module_table.wat | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/lld/main_module_table.wat b/test/lld/main_module_table.wat new file mode 100644 index 000000000..b63b4d8fe --- /dev/null +++ b/test/lld/main_module_table.wat @@ -0,0 +1,9 @@ +(module + (import "env" "__stack_pointer" (global $sp (mut i32))) + (import "GOT.func" "__stdio_write" (global $gimport$9 (mut i32))) + (global $global i32 (i32.const 42)) + (export "__stdio_write" (func $__stdio_write)) + (export "__data_end" (global $global)) + (func $__stdio_write + ) +) |