repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
override-in-system-header.cpp
blob
7d66f7ea9b7c4aa0a356577fbe78adec39b83448
1
// RUN: %clang_cc1 -std=c++11 -isystem %S/Inputs %s -verify
2
// expected-no-diagnostics
3
#include <override-system-header.h>
4
5
struct
A
6
{
7
virtual
void
x
();
8
END_COM_MAP
;
9
IFACEMETHOD
(
Initialize
)();
10
};
11
12
struct
B
:
A
13
{
14
virtual
void
x
()
override
;
15
END_COM_MAP
;
16
IFACEMETHOD
(
Initialize
)();
17
};