Sign in
eigen
/
mirror
/
51311ec6514fcde396bdb7c1c323606862348dc6
/
.
/
failtest
/
block_nonconst_ctor_on_const_xpr_1.cpp
blob: ef6d53702aba7810908c858a8ad437887f4e599b [
file
] [
log
] [
blame
]
#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
Matrix3d
&
m
){
Block
<
Matrix3d
>
b
(
m
,
0
,
0
,
3
,
3
);
}
int
main
()
{}