Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
template17.C
blob: 2bb36aa9e07b2599cb9d8518a82556baaf5643da [
file
] [
log
] [
blame
]
// { 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>
;