translate: fixes for pop scan
[ia32rtools.git] / tests / reg_save2.expect.c
diff --git a/tests/reg_save2.expect.c b/tests/reg_save2.expect.c
new file mode 100644 (file)
index 0000000..25e97ec
--- /dev/null
@@ -0,0 +1,17 @@
+int __fastcall sub_test(int a1)
+{
+  u32 ecx = (u32)a1;
+  u32 eax;
+
+  if (ecx == 0)
+    goto loc1;
+  eax = 0;
+  goto end;
+
+loc1:
+  eax = 1;
+
+end:
+  return eax;
+}
+