Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
);
}