Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
lookup14.C
blob: e1c945a6dca7fe5be4c4b264a02c136c504beb6d [
file
] [
log
] [
blame
]
// PR c++/94799 - member template function lookup fails.
template
<
typename
T
>
struct
A
{
};
template
<
typename
T
>
void
fn
(
A
<
T
>
a
)
{
// Don't perform name lookup of foo when parsing this template.
a
.
template
A
<
T
>::
foo
();
}