blob: 36fb9d8e0a5d01e5547a581838871ecb835e06ca [file] [log] [blame]
/* PR c/5225 */
/* { dg-do compile } */
/* APPLE LOCAL non lvalue assign */
/* { dg-options "-fno-non-lvalue-assign" } */
int main()
{
int i;
+i = 1; /* { dg-error "invalid lvalue in assignment" } */
return 0;
}