diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-01-24 15:22:23 +0100 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-01-26 14:41:33 -0500 |
commit | 3046be77847ce54baae1d432dec224282dedcc16 (patch) | |
tree | adcb3a7dc82434cae0e4df03a7c9202f6ee5e9fa /Tests/CompileFeatures | |
parent | 9b4d4344c67bece5b8074f6fc711feb6a169121b (diff) | |
download | cmake-3046be77847ce54baae1d432dec224282dedcc16.tar.gz |
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 d9c8eec671..7919eb4019 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 { |