Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memtemp36.C
blob: ab035a700afbf12cf7a95612f66c321bc9a946d2 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// GROUPS passed templates membertemplates
template
<
class
X
>
struct
R
{
};
template
<
class
T
>
struct
S
{
template
<
class
U
>
S
(
R
<
U
>
r
);
};
void
foo
()
{
R
<int>
r
;
S
<
char
*>
s
(
r
);
}