1 2 3 4 5 6 7 8 9 10 11 12
// PR c++/47511 namespace N { template <typename T> bool g( T ) { return true; } struct A { }; } template <class T> void f(const T&) { N::A x; g(x) ; }