Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
gcc.dg
/
lvalue1.c
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
;
}