Sign in
eigen
/
mirror
/
9297aae66fd4c13230769c66702c88cde9f355a0
/
.
/
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
()
{}