summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/crash1.C
blob: d629689190695964d48ca8054daa00ac374e0f78 (plain)
1
2
3
4
5
6
7
// { dg-do assemble  }
class A
{
  enum B { ONE, TWO, THREE }; // { dg-error "" } private
};

class A::B; // { dg-error "" } A::B is not a class type, context