aboutsummaryrefslogtreecommitdiff
path: root/test/bug1213.cpp
diff options
context:
space:
mode:
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);
+}
+