1 // RUN: %clang_cc1 -fsyntax-only -verify -fdiagnostics-parseable-fixits %s
10 void B::foo() override
{} // expected-error {{'override' specifier is not allowed outside a class definition}}
11 // CHECK: fix-it:"{{.*}}":{[[@LINE-1]]:15-[[@LINE-1]]:24}:""
13 void f1() override
; // expected-error {{'override' specifier is not allowed}}
15 void f2() override
{} // expected-error {{'override' specifier is not allowed}}
18 void f() override
; // expected-error {{'override' specifier is not allowed}}