summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/ctor9.C
blob: 819ca1c940107208ace4ab8e8739d79ee9374ad0 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/9050, DR 147, 318

struct Y
{
  template <typename T> Y (T);
  template <typename T> void foo (T);
};

template <>      Y::Y<int>   (int)  { }