2014-11-01 03:56:27 +08:00
|
|
|
// 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;
|
2014-11-04 03:46:18 +08:00
|
|
|
IFACEMETHOD(Initialize)();
|
2014-11-01 03:56:27 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
struct B : A
|
|
|
|
{
|
|
|
|
virtual void x() override;
|
|
|
|
END_COM_MAP;
|
2014-11-04 03:46:18 +08:00
|
|
|
IFACEMETHOD(Initialize)();
|
2014-11-01 03:56:27 +08:00
|
|
|
};
|