Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
struct-non-lval-3.c
blob: 3020194cae07d8fa0e929611c3fcbdbf1ced6ad8 [
file
] [
log
] [
blame
]
/* Bug c/17855, using assignment for non-lvalue. */
struct
foo
{
char
x
,
y
,
z
[
2
];};
struct
foo p
,
q
;
void
bar
(
int
baz
)
{
(
p
=
q
).
z
[
baz
]
=
1
;
}