Sign in
gnu
/
gcc
/
418f81eefb6540582e4818225404d4a647ad67eb
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memtemp15.C
blob: 140730ba7255ef9a6865f9e6a7b2d92604146c91 [
file
] [
log
] [
blame
]
// Build don't link:
// 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"
);
}