OSDN Git Service

* gcc.dg/uninit-H.c: Define ASM for Xtensa targets.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / compat / struct-by-value-22_main.c
1 /* Test variable sized function argument passing.
2    GCC 3.2 and earlier is incompatible with GCC 3.3+ on x86-64,
3    the latter passes variable sized arguments by reference while
4    the former doesn't.
5    See http://gcc.gnu.org/ml/gcc-patches/2003-01/msg01830.html */
6
7 extern void struct_by_value_22_x (void);
8 extern void exit (int);
9 int fails;
10
11 int
12 main ()
13 {
14   struct_by_value_22_x ();
15   exit (0);
16 }