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