Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.jason/template17.C

raw
1 // { dg-do assemble }
2 // Caught by Booch Components.
3 // Bug: g++ tries to instantiate nested enums.
4
5 template <class T> struct A
6 {
7 struct B { };
8 enum C { c };
9 };
10
11 template struct A<int>;