aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/bug1213_main.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_main.cpp
parent747e3290c05bf04d866b5c2a0e80fb58a3b3cb39 (diff)
Big 1213: add regression unit test.
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&);