aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/bug1213_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/bug1213_main.cpp')
-rw-r--r--test/bug1213_main.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/bug1213_main.cpp b/test/bug1213_main.cpp
new file mode 100644
index 000000000..4802c0003
--- /dev/null
+++ b/test/bug1213_main.cpp
@@ -0,0 +1,18 @@
+
+// This is a regression unit regarding a weird linking issue with gcc.
+
+#include "bug1213.h"
+
+int main()
+{
+ return 0;
+}
+
+
+template<typename T, int dim>
+bool bug1213_2(const Eigen::Matrix<T,dim,1>& )
+{
+ return true;
+}
+
+template bool bug1213_2<float,3>(const Eigen::Vector3f&);