// PR c++/69515 // { dg-do link { target c++14 } } struct A { A(int = 0) {} }; template class meow; template A foo; template A foo> = 1; auto&& a = foo>; auto&& b = foo>; int main() {}