aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/mixingtypes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/mixingtypes.cpp')
-rw-r--r--test/mixingtypes.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/mixingtypes.cpp b/test/mixingtypes.cpp
index 048f7255a..71f099bb8 100644
--- a/test/mixingtypes.cpp
+++ b/test/mixingtypes.cpp
@@ -52,7 +52,10 @@ template<int SizeAtCompileType> void mixingtypes(int size = SizeAtCompileType)
mf+mf;
VERIFY_RAISES_ASSERT(mf+md);
+#ifndef EIGEN_HAS_STD_RESULT_OF
+ // this one does not even compile with C++11
VERIFY_RAISES_ASSERT(mf+mcf);
+#endif
// the following do not even compile since the introduction of evaluators
// VERIFY_RAISES_ASSERT(vf=vd);
// VERIFY_RAISES_ASSERT(vf+=vd);