Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memtemp97.C
blob: e00c3bb28747a3b07630f026fce40bfd5420e690 [
file
] [
log
] [
blame
]
// { dg-do run }
// 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
);
}