☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
template17.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/template17.C
code
plain
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>;