diff options
author | Brad King <brad.king@kitware.com> | 2015-01-22 14:50:38 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-01-22 14:50:38 (GMT) |
commit | 529293e344106a7132983a8f166a36e835fcce87 (patch) | |
tree | d4da71b32fba8692022190a51f122cd0edb00a61 /Tests/Module/WriteCompilerDetectionHeader/main.cpp | |
parent | be2a74dbcbbc3a6d6af8ccb0a70688e4db0f6901 (diff) | |
parent | 3c0996c135198fbcaf8951cffc98e3a1570e756d (diff) | |
download | CMake-529293e344106a7132983a8f166a36e835fcce87.zip CMake-529293e344106a7132983a8f166a36e835fcce87.tar.gz CMake-529293e344106a7132983a8f166a36e835fcce87.tar.bz2 |
Merge topic 'WriteCompilerDetectionHeader-tests'
3c0996c1 WCDH: Test that no C compiler features are defined for CXX compiler.
8dc0c976 WCDH: Fix the C_STANDARD property in the tests.
Diffstat (limited to 'Tests/Module/WriteCompilerDetectionHeader/main.cpp')
-rw-r--r-- | Tests/Module/WriteCompilerDetectionHeader/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/Module/WriteCompilerDetectionHeader/main.cpp b/Tests/Module/WriteCompilerDetectionHeader/main.cpp index 82b2191..192094c 100644 --- a/Tests/Module/WriteCompilerDetectionHeader/main.cpp +++ b/Tests/Module/WriteCompilerDetectionHeader/main.cpp @@ -4,6 +4,10 @@ #define PREFIX TEST #include "compile_tests.h" +#ifdef TEST_COMPILER_C_STATIC_ASSERT +#error Expect no C features defined +#endif + int main() { return 0; |