diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-01-24 14:22:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-01-26 19:41:33 (GMT) |
commit | 3046be77847ce54baae1d432dec224282dedcc16 (patch) | |
tree | adcb3a7dc82434cae0e4df03a7c9202f6ee5e9fa /Tests/CompileFeatures | |
parent | 9b4d4344c67bece5b8074f6fc711feb6a169121b (diff) | |
download | CMake-3046be77847ce54baae1d432dec224282dedcc16.zip CMake-3046be77847ce54baae1d432dec224282dedcc16.tar.gz CMake-3046be77847ce54baae1d432dec224282dedcc16.tar.bz2 |
Features: Emit a test failure if 'override' is present but not expected
Diffstat (limited to 'Tests/CompileFeatures')
-rw-r--r-- | Tests/CompileFeatures/genex_test.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/genex_test.cpp b/Tests/CompileFeatures/genex_test.cpp index d9c8eec..7919eb4 100644 --- a/Tests/CompileFeatures/genex_test.cpp +++ b/Tests/CompileFeatures/genex_test.cpp @@ -4,6 +4,9 @@ #error "Expect override control feature" #endif #else +#if !EXPECT_OVERRIDE_CONTROL +#error "Expect no override control feature" +#endif struct A { |