From 5a71eb598585f0413ed630f5007f3c0295c7ba60 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 18 May 2016 14:03:03 +0200 Subject: Big 1213: add regression unit test. --- test/bug1213.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/bug1213.cpp (limited to 'test/bug1213.cpp') diff --git a/test/bug1213.cpp b/test/bug1213.cpp new file mode 100644 index 000000000..581760c1a --- /dev/null +++ b/test/bug1213.cpp @@ -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); +} + -- cgit v1.2.3