Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memtemp15.C
blob: b9b69873a2470646bbd23c035d386e5308d9dae0 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// GROUPS passed templates membertemplates
template
<
class
T
>
struct
S
{
template
<
class
U
>
void
foo
(
U
)
{}
};
void
f
()
{
S
<int>
s
;
s
.
foo
(
3
);
s
.
foo
(
"hello"
);
}