Improve the diagnostic for -Wcustom-atomic-properties. Suggestion by Fariborz!
[clang.git] / test / CXX / class / p1-0x.cpp
blob5851de6cc3951392d78534858c978b7bf5cac9fc
1 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
2 namespace Test1 {
4 class A final { };
5 class B explicit { };
6 class C final explicit { };
7 class D final final { }; // expected-error {{class already marked 'final'}}
8 class E explicit explicit { }; // expected-error {{class already marked 'explicit'}}