llvm-for-llvmta/tools/clang/test/Modules/Inputs/PR21547/FirstHeader.h

14 lines
337 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
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>;