Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit35.C
blob: f174e8f9dd0889acc0c8ef09ac3953a39ac59938 [
file
] [
log
] [
blame
]
// { dg-do link }
// { dg-options "-ansi -pedantic-errors -w" }
// GROUPS passed templates
struct
S
{
template
<
class
T
>
void
foo
(
T t
);
};
template
<>
void
S
::
foo
<int>
(
int
i
)
{
}
int
main
()
{
S s
;
s
.
foo
<int>
(
3.0
);
}