summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/passes/vacuum.txt8
-rw-r--r--test/passes/vacuum.wast12
2 files changed, 20 insertions, 0 deletions
diff --git a/test/passes/vacuum.txt b/test/passes/vacuum.txt
new file mode 100644
index 000000000..bb76b2d82
--- /dev/null
+++ b/test/passes/vacuum.txt
@@ -0,0 +1,8 @@
+(module
+ (memory 256 256)
+ (func $b
+ (i32.const 50)
+ (i32.const 51)
+ (i32.const 52)
+ )
+)
diff --git a/test/passes/vacuum.wast b/test/passes/vacuum.wast
new file mode 100644
index 000000000..24dc32bcb
--- /dev/null
+++ b/test/passes/vacuum.wast
@@ -0,0 +1,12 @@
+(module
+ (memory 256 256)
+ (func $b
+ (i32.const 50)
+ (nop)
+ (i32.const 51)
+ (nop)
+ (nop)
+ (i32.const 52)
+ )
+)
+