start some tests
[ia32rtools.git] / tests / reg_call_tail.expect.c
diff --git a/tests/reg_call_tail.expect.c b/tests/reg_call_tail.expect.c
new file mode 100644 (file)
index 0000000..eeb805b
--- /dev/null
@@ -0,0 +1,10 @@
+int __fastcall sub_test(int a1, int a2)
+{
+  u32 ecx = (u32)a1;
+  u32 edx = (u32)a2;
+  u32 ebx;
+
+  ebx = 1;
+  return fastcall_func(ecx, edx);  // tailcall
+}
+