Sign in
gnu
/
gcc
/
251a817e23053b543f04f101c675f5513bbb1865
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memtemp82.C
blob: d4bb37aa410933b9c0be36294ebda8fd7d3c84a8 [
file
] [
log
] [
blame
]
// Build don't link:
// excess errors test
struct
foo
{
template
<
typename
T
>
T bar
()
{
return
staticbar
<
T
>(
this
);
}
template
<
typename
T
>
static
T staticbar
(
foo
*
)
{
return
0
;
}
};
void
f
()
{
foo t
;
int
k
=
t
.
bar
<int>
();
}