gcc/testsuite/gcc.c-torture/compile/20050622-1.c
raw| 1 | /* { dg-skip-if "Array too big" { "pdp11-*-*" } { "-mint32" } } */ |
| 2 | |
| 3 | #if __SCHAR_MAX__ == 127 && __INT_MAX__ >= 2147483647 |
| 4 | struct S { char buf[72*1024*1024]; }; |
| 5 | #else |
| 6 | struct S { char buf[64]; }; |
| 7 | #endif |
| 8 | |
| 9 | extern void bar (struct S); |
| 10 | |
| 11 | struct S s; |
| 12 | |
| 13 | int |
| 14 | foo (void) |
| 15 | { |
| 16 | bar (s); |
| 17 | return 0; |
| 18 | } |