[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / lvalue1.c
blob67b013078c883090d0dd97a5bc5c6e4ae43936bd
1 /* PR c/5225 */
2 /* { dg-do compile } */
4 int main()
6 int i;
7 +i = 1; /* { dg-error "lvalue required as left operand of assignment" } */
8 return 0;