You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
315 B
20 lines
315 B
// 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;
|
|
IFACEMETHOD(Initialize)();
|
|
};
|
|
|
|
struct B : A
|
|
{
|
|
virtual void x() override;
|
|
END_COM_MAP;
|
|
IFACEMETHOD(Initialize)();
|
|
};
|