PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / pr61096-2.c
blobfbea4d9db6bcc062e60643abb0b3f10580c42d3f
1 /* PR c/61077 */
2 /* { dg-do compile } */
4 struct s { char c[1]; };
5 extern struct s foo (void);
6 void
7 bar (void)
9 char *t = (foo ()).c; /* { dg-error "13:invalid use of non-lvalue array" } */