Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memtemp35.C
blob: 11cc223ad11b8f423487ee42ed19313c4a0f0ef1 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// GROUPS passed templates membertemplates
template
<
class
T
>
struct
S
{
S
(
const
S
&
s
)
{}
template
<
class
U
>
S
(
S
<
U
>&
s
)
{
S
<
U
>
s2
(
s
);
}
};
extern
S
<int>
&
si
;
void
foo
()
{
S
<
char
*>
sc
(
si
);
}