mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
failtest: a new cmake-based test suite for testing stuff that should fail to build. This first batch imports some const correctness checks from bug #54.
This commit is contained in:
5
failtest/failtest_sanity_check.cpp
Normal file
5
failtest/failtest_sanity_check.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
|
||||
This is just some text that won't compile as a C++ file, as a basic sanity check for failtest.
|
||||
#else
|
||||
int main() {}
|
||||
#endif
|
||||
Reference in New Issue
Block a user