Sign in
third-party-mirror
/
eigen
/
cb436af996b7c2531dead7746905380bc216900f
/
.
/
failtest
/
ternary_1.cpp
blob: 4f957f49b7de76fddd87dd54d5491a136668648b [
file
] [
log
] [
blame
]
#include
"../Eigen/Core"
using
namespace
Eigen
;
int
main
(
int
argc
,
char
**)
{
VectorXf
a
(
10
),
b
(
10
);
#ifdef
EIGEN_SHOULD_FAIL_TO_BUILD
b
=
argc
>
1
?
2
*
a
:
-
a
;
#else
b
=
argc
>
1
?
2
*
a
:
VectorXf
(-
a
);
#endif
}