aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/lvalue3.C
blob: a3edaac6557e67a550abb202a7a83d5973c06bfe (plain)
1
2
3
4
5
6
7
8
9
// Bug: C++ semantics for assignment don't match the backend semantics for
// MODIFY_EXPR.
// Build don't link:

void
foo (int j)
{
  (j = 1)++;			// causes compiler segfault
}