blob: 2d1f71db1923341f14ee29f3f6bfea603f6358e6 [file] [log] [blame]
// { dg-do assemble }
// PRMS Id: 5155
struct A {
enum foo { bar };
};
typedef A::foo A::foo; // { dg-error "16:typedef name" } causes compiler segfault