blob: 1fd76d38d4b6947a0820b3641ff8a53ecc5b5ea8 [file] [log] [blame]
// PR c++/66596
// { dg-do compile { target c++14 } }
struct U { void f() {} };
struct V { void f() {} };
template<class T> U t;
template<> V t<int>;
template<class T> void g() { t<T>.f(); }
int main() { g<int>(); }