blob: 57bb6a1fcd019128c000d45cac20ce95b053056d [file] [log] [blame]
Austin Schuh189376f2018-12-20 22:11:15 +11001#include "../Eigen/Sparse"
2
3using namespace Eigen;
4
5void call_ref(Ref<SparseMatrix<float> > a) {}
6
7int main()
8{
9 SparseMatrix<float> A(10,10);
10#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
11 call_ref(A.transpose());
12#else
13 call_ref(A);
14#endif
15}