diff options
Diffstat (limited to 'test-suite/standalone/sassy/tests/prims/with-win1.scm')
-rw-r--r-- | test-suite/standalone/sassy/tests/prims/with-win1.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test-suite/standalone/sassy/tests/prims/with-win1.scm b/test-suite/standalone/sassy/tests/prims/with-win1.scm new file mode 100644 index 000000000..5c4b22f7c --- /dev/null +++ b/test-suite/standalone/sassy/tests/prims/with-win1.scm @@ -0,0 +1,20 @@ +(text
+ (label foo (ret))
+ (label bar (ret))
+ (with-win bar
+ (if (= eax 3)
+ (push eax)
+ (push ebx))))
+
+; 00000000 C3 ret
+; 00000001 C3 ret
+; 00000002 83F803 cmp eax,byte +0x3
+; 00000005 7506 jnz 0xd
+; 00000007 50 push eax
+; 00000008 E9F4FFFFFF jmp 0x1
+; 0000000D 53 push ebx
+; 0000000E E9EEFFFFFF jmp 0x1
+
+
+
+
\ No newline at end of file |