Sign in
third-party-mirror
/
eigen
/
cefe4a0684b2d4165e775e1a4e8f0eaee8311cfe
/
.
/
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
()
{}