• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
2 // expected-no-diagnostics
3 
4 struct Base {
5   virtual void override();
6 };
7 
8 struct S : Base {
9   virtual void final() final;
10   virtual void override() override;
11 };
12 
13 struct T : Base {
overrideT14   virtual void override() override { }
15 };
16 
17 struct override;
18 struct Base2 {
19   virtual override override(int override);
20 };
21 
22 struct A : Base2 {
23   virtual struct override override(int override) override;
24 };
25