summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/expr/lval4.C
blob: c66e2f6af25a9320044ae9387b2618ff0fb2b7b4 (plain)
1
2
3
4
5
6
7
8
9
// ++i is always an lvalue
void
f()
{
  bool i = 0;
  ++i = 3;
}