summaryrefslogtreecommitdiffhomepage
path: root/eigen/failtest/triangularview_nonconst_ctor_on_const_xpr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'eigen/failtest/triangularview_nonconst_ctor_on_const_xpr.cpp')
-rw-r--r--eigen/failtest/triangularview_nonconst_ctor_on_const_xpr.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/eigen/failtest/triangularview_nonconst_ctor_on_const_xpr.cpp b/eigen/failtest/triangularview_nonconst_ctor_on_const_xpr.cpp
deleted file mode 100644
index 807447e..0000000
--- a/eigen/failtest/triangularview_nonconst_ctor_on_const_xpr.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
-#include "../Eigen/Core"
-
-#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
-#define CV_QUALIFIER const
-#else
-#define CV_QUALIFIER
-#endif
-
-using namespace Eigen;
-
-void foo(CV_QUALIFIER Matrix3d &m){
- TriangularView<Matrix3d,Upper> t(m);
-}
-
-int main() {}