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

13
test/bug1213.cpp Normal file
View File

@@ -0,0 +1,13 @@
// This anonymous enum is essential to trigger the linking issue
enum {
Foo
};
#include "bug1213.h"
bool bug1213_1(const Eigen::Vector3f& x)
{
return bug1213_2(x);
}