2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / template17.C
blob2bb36aa9e07b2599cb9d8518a82556baaf5643da
1 // { dg-do assemble  }
2 // Caught by Booch Components.
3 // Bug: g++ tries to instantiate nested enums.
5 template <class T> struct A
7   struct B { };
8   enum C { c };
9 };
11 template struct A<int>;