1 2 // This is a regression unit regarding a weird linking issue with gcc. 3 4 #include "bug1213.h" 5 main()6int main() 7 { 8 return 0; 9 } 10 11 12 template<typename T, int dim> bug1213_2(const Eigen::Matrix<T,dim,1> &)13bool bug1213_2(const Eigen::Matrix<T,dim,1>& ) 14 { 15 return true; 16 } 17 18 template bool bug1213_2<float,3>(const Eigen::Vector3f&); 19