Big 1213: add regression unit test.

This commit is contained in:
Gael Guennebaud
2016-05-18 14:03:03 +02:00
parent 747e3290c0
commit 5a71eb5985
4 changed files with 41 additions and 0 deletions

18
test/bug1213_main.cpp Normal file
View File

@@ -0,0 +1,18 @@
// This is a regression unit regarding a weird linking issue with gcc.
#include "bug1213.h"
int main()
{
return 0;
}
template<typename T, int dim>
bool bug1213_2(const Eigen::Matrix<T,dim,1>& )
{
return true;
}
template bool bug1213_2<float,3>(const Eigen::Vector3f&);