summaryrefslogtreecommitdiff
path: root/test-suite/standalone/sassy/tests/prims/with-win-lose1.scm
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/standalone/sassy/tests/prims/with-win-lose1.scm')
-rw-r--r--test-suite/standalone/sassy/tests/prims/with-win-lose1.scm16
1 files changed, 16 insertions, 0 deletions
diff --git a/test-suite/standalone/sassy/tests/prims/with-win-lose1.scm b/test-suite/standalone/sassy/tests/prims/with-win-lose1.scm
new file mode 100644
index 000000000..4663e8639
--- /dev/null
+++ b/test-suite/standalone/sassy/tests/prims/with-win-lose1.scm
@@ -0,0 +1,16 @@
+(text
+ (with-win-lose foo bar
+ (= eax 3))
+ (seq (nop) (nop) (nop))
+ (label foo (ret))
+ (label bar (ret)))
+
+; 00000000 83F803 cmp eax,byte +0x3
+; 00000003 0F8408000000 jz near 0x11
+; 00000009 E904000000 jmp 0x12
+; 0000000E 90 nop
+; 0000000F 90 nop
+; 00000010 90 nop
+; 00000011 C3 ret
+; 00000012 C3 ret
+