[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / SemaCXX / override-in-system-header.cpp
blob7d66f7ea9b7c4aa0a356577fbe78adec39b83448
1 // RUN: %clang_cc1 -std=c++11 -isystem %S/Inputs %s -verify
2 // expected-no-diagnostics
3 #include <override-system-header.h>
5 struct A
7 virtual void x();
8 END_COM_MAP;
9 IFACEMETHOD(Initialize)();
12 struct B : A
14 virtual void x() override;
15 END_COM_MAP;
16 IFACEMETHOD(Initialize)();