Features: Emit a test failure if 'override' is present but not expected

This commit is contained in:
Stephen Kelly 2015-01-24 15:22:23 +01:00 committed by Brad King
parent 9b4d4344c6
commit 3046be7784
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@
#error "Expect override control feature"
#endif
#else
#if !EXPECT_OVERRIDE_CONTROL
#error "Expect no override control feature"
#endif
struct A
{