blob: 5851de6cc3951392d78534858c978b7bf5cac9fc [file] [log] [blame]
// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
namespace Test1 {
class A final { };
class B explicit { };
class C final explicit { };
class D final final { }; // expected-error {{class already marked 'final'}}
class E explicit explicit { }; // expected-error {{class already marked 'explicit'}}
}