diff options
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/execute/20010518-1.c')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/20010518-1.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/20010518-1.c b/gcc/testsuite/gcc.c-torture/execute/20010518-1.c new file mode 100644 index 000000000..94b2d8f6f --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/20010518-1.c @@ -0,0 +1,28 @@ +/* Leaf functions with many arguments. */ + +int +add (int a, + int b, + int c, + int d, + int e, + int f, + int g, + int h, + int i, + int j, + int k, + int l, + int m) +{ + return a+b+c+d+e+f+g+h+i+j+k+l+m; +} + +int +main(void) +{ + if (add (1,2,3,4,5,6,7,8,9,10,11,12,13) != 91) + abort (); + + exit (0); +} |