summaryrefslogtreecommitdiff
path: root/test-suite/standalone/sassy/tests/prims/with-lose1.scm
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/standalone/sassy/tests/prims/with-lose1.scm')
-rw-r--r--test-suite/standalone/sassy/tests/prims/with-lose1.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/test-suite/standalone/sassy/tests/prims/with-lose1.scm b/test-suite/standalone/sassy/tests/prims/with-lose1.scm
new file mode 100644
index 000000000..bb00b3db9
--- /dev/null
+++ b/test-suite/standalone/sassy/tests/prims/with-lose1.scm
@@ -0,0 +1,20 @@
+(text
+ (label foo (ret))
+ (seq (nop)
+ (with-lose foo
+ (iter (alt (seq (nop) z!)
+ (seq (nop) a!)
+ (seq (nop) po!))))
+ (nop)))
+; foo:
+; 00000000 C3 ret
+
+; 00000001 90 nop
+; 00000002 90 nop
+; 00000003 74FD jz 0x2
+; 00000005 90 nop
+; 00000006 77FA ja 0x2
+; 00000008 90 nop
+; 00000009 7BF7 jpo 0x2
+; 0000000B E9F0FFFFFF jmp 0x0
+; 00000010 90 nop