add more failtests

This commit is contained in:
Benoit Jacob
2011-02-06 01:44:51 -05:00
parent 9b13e9aece
commit 9ce08b352f
9 changed files with 132 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#include "../Eigen/Core"
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
#define CV_QUALIFIER const
#else
#define CV_QUALIFIER
#endif
using namespace Eigen;
void foo(CV_QUALIFIER float *ptr, DenseIndex rows, DenseIndex cols){
Map<MatrixXf> m(ptr, rows, cols);
}
int main() {}