Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.c-torture/compile/pr87647.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
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 } |