// { dg-do link } // Origin: Mark Mitchell template struct A { template A (T t); template int f(T t) const; }; template <> template int A<1>::f(T t) const {return 1;} template <> template A<1>::A (T t) {} int main() { A<1> a (3); a.f(1); return 0; }