diff --git a/test/linearstructure.cpp b/test/linearstructure.cpp index 87dfa1b6b..8e3cc9a86 100644 --- a/test/linearstructure.cpp +++ b/test/linearstructure.cpp @@ -92,6 +92,8 @@ template void real_complex(DenseIndex rows = MatrixType::Ro void test_linearstructure() { + g_called = true; + VERIFY(g_called); // avoid `unneeded-internal-declaration` warning. for(int i = 0; i < g_repeat; i++) { CALL_SUBTEST_1( linearStructure(Matrix()) ); CALL_SUBTEST_2( linearStructure(Matrix2f()) );