OSDN Git Service

* c-decl.c (c_init_decl_processing): Set pedantic_lvalues to
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / compound-lvalue-1.c
index c77403d..30ed58f 100644 (file)
@@ -8,5 +8,6 @@ int x, y;
 void
 foo (void)
 {
-  (x, y) = 1; /* { dg-warning "lvalue" "compound expression as lvalue deprecated" } */
+  (x, y) = 1; /* { dg-bogus "warning" "warning in place of error" } */
 }
+/* { dg-error "lvalue" "compound expression as lvalue" { target *-*-* } 11 } */