Clang Project

clang_source_code/test/Index/complete-access-checks-crash.cpp
1struct Base {
2protected:
3  bool bar();
4};
5struct Derived : Base {
6};
7
8struct X {
9  int foo() {
10    Derived(). // RUN: c-index-test -code-completion-at=%s:10:15 %s | FileCheck %s
11    // CHECK: bar{{.*}}(inaccessible)
12  }
13};
14