void
foo (void)
{
- (x ? y : z) = 1; /* { dg-warning "lvalue" "conditional expression as lvalue deprecated" } */
+ (x ? y : z) = 1; /* { dg-bogus "warning" "warning in place of error" } */
}
+/* { dg-error "lvalue" "conditional expression as lvalue" { target *-*-* } 11 } */