1 #include "../Eigen/Core" 2 3 using namespace Eigen; 4 call_ref(Ref<MatrixXf,0,OuterStride<>> a)5void call_ref(Ref<MatrixXf,0,OuterStride<> > a) {} 6 main()7int main() 8 { 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 15 } 16