Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / libs / eigen / failtest / ref_4.cpp
blob6c11fa4cbce41af6021e846d0d743da0c4c7fdb7
1 #include "../Eigen/Core"
3 using namespace Eigen;
5 void call_ref(Ref<MatrixXf,0,OuterStride<> > a) {}
7 int main()
9 MatrixXf A(10,10);
10 #ifdef EIGEN_SHOULD_FAIL_TO_BUILD
11 call_ref(A.transpose());
12 #else
13 call_ref(A);
14 #endif