1 2 3 4 5 6 7 8 9 10
// ++i is always an lvalue void f() { bool i = 0; ++i = 3; // { dg-warning "deprecated" "" { target *-*-* } 6 } }