2 /* Origin: Keith Thompson <kst@cts.com> */
4 /* { dg-do compile } */
5 /* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
8 struct s { char c[1]; };
10 extern struct s foo(void);
14 char *ptr = foo().c; /* { dg-bogus "non-lvalue" "array not decaying to lvalue" } */