1 // PR c++/66596
2 // { dg-do compile { target c++14 } }
3 
fU4 struct U { void f() {} };
fV5 struct V { void f() {} };
6 template<class T> U t;
7 template<> V t<int>;
g()8 template<class T> void g() { t<T>.f(); }
main()9 int main() { g<int>(); }
10