blob: 2bb36aa9e07b2599cb9d8518a82556baaf5643da [file] [log] [blame]
// { dg-do assemble }
// Caught by Booch Components.
// Bug: g++ tries to instantiate nested enums.
template <class T> struct A
{
struct B { };
enum C { c };
};
template struct A<int>;