diff --git a/test/dynalloc.cpp b/test/dynalloc.cpp index 3d895f2e0..6f22e1ab4 100644 --- a/test/dynalloc.cpp +++ b/test/dynalloc.cpp @@ -129,13 +129,6 @@ void test_dynalloc() for (int i=0; i() ); - CALL_SUBTEST(check_dynaligned() ); - CALL_SUBTEST(check_dynaligned() ); - CALL_SUBTEST(check_dynaligned() ); - CALL_SUBTEST(check_dynaligned() ); - CALL_SUBTEST(check_dynaligned() ); - CALL_SUBTEST( check_custom_new_delete() ); CALL_SUBTEST( check_custom_new_delete() ); CALL_SUBTEST( check_custom_new_delete() ); @@ -144,6 +137,16 @@ void test_dynalloc() // check static allocation, who knows ? #if EIGEN_MAX_STATIC_ALIGN_BYTES + for (int i=0; i() ); + CALL_SUBTEST(check_dynaligned() ); + CALL_SUBTEST(check_dynaligned() ); + CALL_SUBTEST(check_dynaligned() ); + CALL_SUBTEST(check_dynaligned() ); + CALL_SUBTEST(check_dynaligned() ); + } + { MyStruct foo0; VERIFY(size_t(foo0.avec.data())%ALIGNMENT==0); MyClassA fooA; VERIFY(size_t(fooA.avec.data())%ALIGNMENT==0);