Sign in
llvm
/
llvm-archive
/
f8b4f79771a41ee0a0f02ac90619d37ccd834915
/
.
/
clang-tests
/
gcc-4_2-testsuite
/
src
/
gcc.c-torture
/
compile
/
pr16566-1.c
blob: 4ed4ab730e69247d148917a1c8ef9fb9f184bd57 [
file
] [
log
] [
blame
]
/* ICE with flexible arrays in non-lvalue structures. Bug 16566
(comment #3). */
struct
S
;
struct
C
{
int
i
;
struct
S
*
tab
[];
};
struct
S
{
struct
C c
;
};
void
foo
(
struct
S
*
x
)
{
foo
(((
void
)
1
,
x
->
c
).
tab
[
0
]);
}