• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -std=c++11 -isystem %S/Inputs %s -verify
2 // expected-no-diagnostics
3 // rdar://18295240
4 
5 #include <override-system-header.h>
6 
7 struct A
8 {
9   virtual void x();
10   END_COM_MAP;
11   IFACEMETHOD(Initialize)();
12 };
13 
14 struct B : A
15 {
16   virtual void x() override;
17   END_COM_MAP;
18   IFACEMETHOD(Initialize)();
19 };
20