1 /* PR c/61077 */
2 /* { dg-do compile } */
3
4 struct s { char c[1]; };
5 extern struct s foo (void);
6 void
7 bar (void)
8 {
9 char *t = (foo ()).c; /* { dg-error "13:invalid use of non-lvalue array" } */
10 }