forked from OSchip/llvm-project
18 lines
257 B
C++
18 lines
257 B
C++
|
// RUN: %clang_cc1 -std=c++11 -isystem %S/Inputs %s -verify
|
||
|
// expected-no-diagnostics
|
||
|
// rdar://18295240
|
||
|
|
||
|
#include <override-system-header.h>
|
||
|
|
||
|
struct A
|
||
|
{
|
||
|
virtual void x();
|
||
|
END_COM_MAP;
|
||
|
};
|
||
|
|
||
|
struct B : A
|
||
|
{
|
||
|
virtual void x() override;
|
||
|
END_COM_MAP;
|
||
|
};
|