summaryrefslogtreecommitdiffhomepage
path: root/eigen/test/bug1213.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'eigen/test/bug1213.cpp')
-rw-r--r--eigen/test/bug1213.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/eigen/test/bug1213.cpp b/eigen/test/bug1213.cpp
new file mode 100644
index 0000000..581760c
--- /dev/null
+++ b/eigen/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);
+}
+