diff options
Diffstat (limited to 'test/passes/nm.wast')
-rw-r--r-- | test/passes/nm.wast | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/test/passes/nm.wast b/test/passes/nm.wast new file mode 100644 index 000000000..72534e55d --- /dev/null +++ b/test/passes/nm.wast @@ -0,0 +1,29 @@ +(module + (func $a + (nop) + ) + (func $b + (loop + (nop) + (i32.const 1000) + ) + ) + (func $c + (block $top + (nop) + (i32.const 1000) + (i32.add + (i32.add + (i32.const 1001) + (i32.const 1002) + ) + (i32.add + (i32.const 1003) + (i32.const 1004) + ) + ) + (br $top) + ) + ) +) + |