summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/crash10.C
blob: cd9b7b0b2d2cb5533dbfda779e7322e5cb39b4c1 (plain)
1
2
3
4
5
6
7
8
// { dg-do assemble  }
// PRMS Id: 5155

struct A {
  enum foo { bar };
};

typedef A::foo A::foo;		// { dg-error "" } causes compiler segfault