re PR target/39678 (complex type isn't passed correctly)
[gcc.git] / gcc / testsuite / gcc.dg / compat / struct-complex-2_main.c
1 /* { dg-options "-O" } */
2
3 #ifdef __x86_64__
4 /* Test function argument passing. PR target/39678. */
5
6 extern void struct_complex_2_x (void);
7 extern void exit (int);
8
9 int
10 main ()
11 {
12 struct_complex_2_x ();
13 exit (0);
14 }
15 #else
16 int
17 main ()
18 {
19 return 0;
20 }
21 #endif