Sign in
eigen
/
mirror
/
3ffb4e50df498182a624ab37bb50f55407b02f8f
/
.
/
failtest
/
block_nonconst_ctor_on_const_xpr_1.cpp
blob: c3ddc9af949c4957cf3a098d09b89f03907d296e [
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
()
{}