blob: c7ac4d656378770237445955e17b62529f589e80 [file] [log] [blame]
Ilya Biryukov55b1b152018-07-30 15:19:05 +00001struct 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};