Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr61096-2.c
blob: fbea4d9db6bcc062e60643abb0b3f10580c42d3f [
file
] [
log
] [
blame
]
/* PR c/61077 */
/* { dg-do compile } */
struct
s
{
char
c
[
1
];
};
extern
struct
s foo
(
void
);
void
bar
(
void
)
{
char
*
t
=
(
foo
()).
c
;
/* { dg-error "13:invalid use of non-lvalue array" } */
}