diff options
Diffstat (limited to 'o3tl')
-rw-r--r-- | o3tl/qa/test-typed_flags.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/o3tl/qa/test-typed_flags.cxx b/o3tl/qa/test-typed_flags.cxx index d2a4154fd71b..0612fc190cbe 100644 --- a/o3tl/qa/test-typed_flags.cxx +++ b/o3tl/qa/test-typed_flags.cxx @@ -47,6 +47,10 @@ public: nHint &= ConfigurationChangedHint::ONE; CPPUNIT_ASSERT( bool(nHint &= ConfigurationChangedHint::ONE) ); + CPPUNIT_ASSERT( + !((ConfigurationChangedHint::NONE | ConfigurationChangedHint::ONE) + & (ConfigurationChangedHint::NONE + | ConfigurationChangedHint::TWO))); } // Change the following lines only, if you add, remove or rename |