aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/bug1213.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-05-18 14:03:03 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-05-18 14:03:03 +0200
commit5a71eb598585f0413ed630f5007f3c0295c7ba60 (patch)
tree940f951f02bb002bbca6dc7c5fb7ad384ef7aaea /test/bug1213.cpp
parent747e3290c05bf04d866b5c2a0e80fb58a3b3cb39 (diff)
Big 1213: add regression unit test.
Diffstat (limited to 'test/bug1213.cpp')
-rw-r--r--test/bug1213.cpp13
1 files changed, 13 insertions, 0 deletions
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);
+}
+