summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr17730-1.c
blob: 8f70ad8055cda02be669be2b4100d6dbead556b3 (plain)
1
2
3
4
5
/* Test formatting of message for invalid lvalue.  Bug 17730.  */
/* { dg-do compile } */
/* { dg-options "" } */

char *p = &'C'; /* { dg-error "lvalue required as unary '&' operand" } */