[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / SemaCXX / override-in-system-header.cpp
blob689585e0cf12c80a69286aa05a46ccc09ccb7ad1
1 // RUN: %clang_cc1 -std=c++11 -isystem %S/Inputs %s -verify
2 // expected-no-diagnostics
3 // rdar://18295240
5 #include <override-system-header.h>
7 struct A
9 virtual void x();
10 END_COM_MAP;
11 IFACEMETHOD(Initialize)();
14 struct B : A
16 virtual void x() override;
17 END_COM_MAP;
18 IFACEMETHOD(Initialize)();