[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Index / complete-access-checks-crash.cpp
blobc7ac4d656378770237445955e17b62529f589e80
1 struct Base {
2 protected:
3 bool bar();
4 };
5 struct Derived : Base {
6 };
8 struct X {
9 int foo() {
10 Derived(). // RUN: c-index-test -code-completion-at=%s:10:15 %s | FileCheck %s
11 // CHECK: bar{{.*}}(inaccessible)