Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memtemp73.C
blob: 5580d9063b13be3350a03d79d4c6d086062a347f [
file
] [
log
] [
blame
]
// { dg-do run }
template
<
class
T
>
struct
A
{
template
<
class
U
>
void
f
(
U
);
};
template
<
int
i
>
struct
B
{
};
template
<
class
T
>
template
<
class
U
>
void
A
<
T
>::
f
(
U
)
{
enum
{
foo
};
B
<foo>
b
;
}
int
main
()
{
A
<char>
a
;
a
.
f
(
42
);
}