1 // RUN: %clang_cc1 -fsyntax-only -std=c++11 %s -verify -Winconsistent-missing-destructor-override
11 void run() override {}
18 virtual ~C() {} // expected-note 2{{overridden virtual function is here}}
23 void run() override {}
25 // expected-warning@-1 {{'~D' overrides a destructor but is not marked 'override'}}
30 void run() override {}
32 // expected-warning@-1 {{'~E' overrides a destructor but is not marked 'override'}}