Sign in
gnu
/
gcc
/
19220ca6aa79921cc431e41f25986e16410c7a6a
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
spec13.C
blob: f2a3a373ed76c57e7525c786057052c606cabb7b [
file
] [
log
] [
blame
]
// { dg-options "-w" }
template
<
typename
T
>
struct
S
{
int
i
;
template
<
typename
U
>
void
f
(
U
)
{}
};
template
<>
template
<
typename
U
>
void
S
<int>
::
f
(
U
)
{
i
;
}
void
f
()
{
S
<int>
s
;
s
.
f
<int>
(
3
);
}