gcc/testsuite/gcc.c-torture/compile/pr87647.c
raw| 1 | /* PR middle-end/87647 */ |
| 2 | |
| 3 | struct A {}; |
| 4 | struct A *const b = &(struct A) {}; |
| 5 | struct B { char *s; struct A *t; }; |
| 6 | void bar (struct B *); |
| 7 | |
| 8 | void |
| 9 | foo (void) |
| 10 | { |
| 11 | struct B a[] = { "", b, "", b, "", b, "", b, "", b, "", b, "", b, "", b, |
| 12 | "", b, "", b, "", b, "", b, "", b, "", b, "", b, "", b, |
| 13 | "", b }; |
| 14 | bar (a); |
| 15 | } |