summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/PR21547/FirstHeader.h
blob: a01c6075932f99ba29ce078de89bd1531841437e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
template<class Element> struct TMatrixT;
typedef TMatrixT<double> TMatrixD;

void f(const TMatrixD &m);

template<class Element> struct TMatrixT {
  template <class Element2> TMatrixT(const TMatrixT<Element2> &);
  ~TMatrixT() {}
  void Determinant () { f(*this); }
};

template struct TMatrixT<float>;
template struct TMatrixT<double>;
OpenPOWER on IntegriCloud