Sign in
gnu
/
gcc
/
251a817e23053b543f04f101c675f5513bbb1865
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit35.C
blob: e39a27bc501e080f5c0a74cb7a09fa0d985a06a1 [
file
] [
log
] [
blame
]
// Build don't run:
// GROUPS passed templates
// Special g++ Options: -ansi -pedantic-errors -w
struct
S
{
template
<
class
T
>
void
foo
(
T t
);
};
template
<>
void
S
::
foo
<int>
(
int
i
)
{
}
int
main
()
{
S s
;
s
.
template
foo
<int>
(
3.0
);
}