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
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
override-in-system-header.cpp
blob
689585e0cf12c80a69286aa05a46ccc09ccb7ad1
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
};