c++: Member template function lookup failure [PR94799]
[official-gcc.git] / gcc / testsuite / g++.dg / template / lookup14.C
blobe1c945a6dca7fe5be4c4b264a02c136c504beb6d
1 // PR c++/94799 - member template function lookup fails.
3 template<typename T>
4 struct A { };
6 template<typename T>
7 void fn (A<T> a)
9   // Don't perform name lookup of foo when parsing this template.
10   a.template A<T>::foo ();