FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / template17.C
blob27e4d047ccdbfd1a35dd721b675f8e6ec9c44d9e
1 // Caught by Booch Components.
2 // Bug: g++ tries to instantiate nested enums.
3 // Build don't link:
5 template <class T> struct A
7   struct B { };
8   enum C { c };
9 };
11 template struct A<int>;