aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/integer_types.cpp
diff options
context:
space:
mode:
authorGravatar Everton Constantino <everton.constantino@ibm.com>2020-01-07 14:35:35 +0000
committerGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2020-01-07 14:35:35 +0000
commiteedb7eeacf45228da5de90ec80d6b6776b9a0a02 (patch)
treeef1ef76d73601138a390535ed9c1bfd9f4a80d75 /test/integer_types.cpp
parentbcbaad6d874d451817457ae0603f953cda3c0c06 (diff)
Protecting integer_types's long long test with a check to see if we have CXX11 support.
Diffstat (limited to 'test/integer_types.cpp')
-rw-r--r--test/integer_types.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/integer_types.cpp b/test/integer_types.cpp
index 3f9030d77..31f4100c5 100644
--- a/test/integer_types.cpp
+++ b/test/integer_types.cpp
@@ -162,10 +162,12 @@ EIGEN_DECLARE_TEST(integer_types)
CALL_SUBTEST_6( integer_type_tests(Matrix<unsigned short, 4, 4>()) );
+#if EIGEN_HAS_CXX11
CALL_SUBTEST_7( integer_type_tests(Matrix<long long, 11, 13>()) );
CALL_SUBTEST_7( signed_integer_type_tests(Matrix<long long, 11, 13>()) );
CALL_SUBTEST_8( integer_type_tests(Matrix<unsigned long long, Dynamic, 5>(1, 5)) );
+#endif
}
CALL_SUBTEST_9( integer_types_extra<0>() );
}