[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeCompletion / accessibility-crash.cpp
blob5d6dac3d77145b09d656d48bfd440364defc6de8
1 class X {
2 public:
3 int pub;
4 protected:
5 int prot;
6 private:
7 int priv;
8 };
10 class Y : public X {
11 int test() {
12 []() {
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)