Sign in
gnu
/
gcc
/
14bc1c0e15633ea781d76d0ae4274b2e27d51db5
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memtemp97.C
blob: 511beaea57dd59dae4e1071e13816c1113e70176 [
file
] [
log
] [
blame
]
// Origin: Mark Mitchell <mark@codesourcery.com>
template
<
class
T
>
struct
A
{
template
<
class
U
>
int
f
(
U
)
{
return
1
;
}
};
template
<>
template
<
class
U
>
int
A
<int>
::
f
(
U
)
{
return
0
;
}
A
<int>
a
;
int
main
()
{
return
a
.
f
(
3
);
}