aboutsummaryrefslogtreecommitdiff
path: root/test/bug1213_main.cpp
diff options
context:
space:
mode:
authorMiao Wang <miaowang@google.com>2017-03-08 17:13:58 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-03-08 17:13:58 +0000
commit7de1f32623fe9b8d80455905f4f23b944bcb5e48 (patch)
tree0488797fc544fe977bec6418c73445759f052482 /test/bug1213_main.cpp
parent2121131a9d270120c1712ffcb9cdb7aeaeb33e3f (diff)
parent2b8756b6f1de65d3f8bffab45be6c44ceb7411fc (diff)
downloadeigen-7de1f32623fe9b8d80455905f4f23b944bcb5e48.tar.gz
Merge "Rebase Eigen to 3.3.3."
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&);