blob: c85856de9619eab4d24aaf34ec4f8d658c2e4039 [file] [edit]
// SPDX-FileCopyrightText: The Eigen Authors
// SPDX-License-Identifier: MPL-2.0
#include "../Eigen/Core"
int main() {
Eigen::Matrix<bool, 2, 2> a, b;
a.setOnes();
b.setOnes();
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
a - b;
#else
a.cast<int>() - b.cast<int>();
#endif
}