repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr16566-3.c
blob
954aa361da295b572a14588e71da8fa34b572bd3
1
/* ICE with flexible arrays in non-lvalue structures. Bug 16566
2
(testcase from duplicate bug 16575). */
3
4
struct
S
;
5
struct
C
{
6
int
i
;
7
struct
S
*
tab
[];
8
};
9
struct
S
{
struct
C c
; };
10
void
foo
(
struct
S
*
x
) {
11
((
void
)
1
,
x
->
c
).
tab
[
0
] =
0
;
12
}