summaryrefslogtreecommitdiff
path: root/test/example/stack-utils.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/example/stack-utils.txt')
-rw-r--r--test/example/stack-utils.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/example/stack-utils.txt b/test/example/stack-utils.txt
new file mode 100644
index 000000000..c278ca099
--- /dev/null
+++ b/test/example/stack-utils.txt
@@ -0,0 +1,17 @@
+;; Test removeNops
+(block (result i32 i64)
+ (nop)
+ (i32.const 0)
+ (nop)
+ (i64.const 0)
+ (nop)
+ (nop)
+)
+(block (result i32 i64)
+ (i32.const 0)
+ (i64.const 0)
+)
+;; Test stack signatures
+;; Test stack signature composition
+;; Test stack signature satisfaction
+;; Test stack flow