bug #365 - Add test for non-usage of B0

This commit is contained in:
Benoit Jacob 2011-10-31 10:44:06 -04:00
parent 9df2f5c923
commit 0cf2a05f3e
2 changed files with 5 additions and 0 deletions

View File

@ -40,6 +40,10 @@
#define min(A,B) please_protect_your_min_with_parentheses
#define max(A,B) please_protect_your_max_with_parentheses
#define FORBIDDEN_IDENTIFIER (this_identifier_is_forbidden_to_avoid_clashes) this_identifier_is_forbidden_to_avoid_clashes
// B0 is defined in POSIX header termios.h
#define B0 FORBIDDEN_IDENTIFIER
// the following file is automatically generated by cmake
#include "split_test_helper.h"

View File

@ -92,4 +92,5 @@ void test_product_selfadjoint()
s = internal::random<int>(1,EIGEN_TEST_MAX_SIZE);
CALL_SUBTEST_7( product_selfadjoint(Matrix<float,Dynamic,Dynamic,RowMajor>(s,s)) );
}
EIGEN_UNUSED_VARIABLE(s)
}