Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memtemp72.C
blob: 26bd4bc1867f7602108bb596c9dbbe1a4299ae05 [
file
] [
log
] [
blame
]
// { dg-do assemble }
template
<
class
P
>
struct
B
{
template
<
class
T
>
void
f
(
T
&
t
)
{
t
=
T
();
}
};
enum
ptype
{
t1
,
t2
};
struct
D
:
public
B
<ptype>
{
void
g
(
double
&
d
)
{
f
(
d
);
}
};
D d
;