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] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
CodeCompletion
/
accessibility-crash.cpp
blob
5d6dac3d77145b09d656d48bfd440364defc6de8
1
class
X
{
2
public
:
3
int
pub
;
4
protected
:
5
int
prot
;
6
private
:
7
int
priv
;
8
};
9
10
class
Y
:
public
X
{
11
int
test
() {
12
[]() {
13
14
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:%(line-1):1 %s -o - \
15
// RUN: | FileCheck %s
16
// CHECK: priv (InBase,Inaccessible)
17
// CHECK: prot (InBase)
18
// CHECK: pub (InBase)
19
};
20
}
21
};
22
23