rt_gccstream/gcc/testsuite/gcc.dg/pr17730-1.c

6 lines
189 B
C

/* Test formatting of message for invalid lvalue. Bug 17730. */
/* { dg-do compile } */
/* { dg-options "" } */
char *p = &'C'; /* { dg-error "lvalue required as unary '&' operand" } */