OSDN Git Service

* gcc.dg/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.jason / lvalue3.C
1 // { dg-do assemble  }
2 // Bug: C++ semantics for assignment don't match the backend semantics for
3 // MODIFY_EXPR.
4
5 void
6 foo (int j)
7 {
8   (j = 1)++;                    // causes compiler segfault
9 }