From 3046be77847ce54baae1d432dec224282dedcc16 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sat, 24 Jan 2015 15:22:23 +0100 Subject: [PATCH] Features: Emit a test failure if 'override' is present but not expected --- Tests/CompileFeatures/genex_test.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 {