blob: 2bb36aa9e07b2599cb9d8518a82556baaf5643da (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// { 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>;
|