aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sizeoverflow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/sizeoverflow.cpp')
-rw-r--r--test/sizeoverflow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sizeoverflow.cpp b/test/sizeoverflow.cpp
index 240d22294..421351233 100644
--- a/test/sizeoverflow.cpp
+++ b/test/sizeoverflow.cpp
@@ -34,7 +34,7 @@ void triggerVectorBadAlloc(Index size)
VERIFY_THROWS_BADALLOC( VectorType v; v.conservativeResize(size) );
}
-void test_sizeoverflow()
+EIGEN_DECLARE_TEST(sizeoverflow)
{
// there are 2 levels of overflow checking. first in PlainObjectBase.h we check for overflow in rows*cols computations.
// this is tested in tests of the form times_itself_gives_0 * times_itself_gives_0