Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
enum7.C
blob: 8c464a795d82cee405e9fb6bd4a2f3aed6d3e83f [
file
] [
log
] [
blame
]
// PR c++/53524
template
<
class
T
>
struct
A
{
enum
EA
{
ea
};
};
template
<
class
T
,
class
U
>
struct
B
{
enum
EB
{
eb1
=
A
<
T
>::
ea
,
eb2
=
A
<
U
>::
ea
,
eb3
=
0
?
eb1
:
eb2
};
};
B
<
int
,
char
>
b
;