Skip to content

Commit 0b54394

Browse files
committed
Binary: Add an X86 test with parameters.
1 parent c5da111 commit 0b54394

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

  • binary/test-inputs/TestNative
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
__declspec(noinline) int f(int a, int b, int c, int d, int e, int f, int g, int h) {
2+
return a + 99942 + b + c + d + e + f + g + h;
3+
}
4+
5+
__declspec(noinline) int main(int argc, char* argv[]) {
6+
int y = f(argc, 1, 2, 3, 4, 5, 6, 7);
7+
return y;
8+
}

0 commit comments

Comments
 (0)