Ilya Biryukov | 55b1b15 | 2018-07-30 15:19:05 +0000 | [diff] [blame] | 1 | struct Base { |
2 | protected: | ||||
3 | bool bar(); | ||||
4 | }; | ||||
5 | struct Derived : Base { | ||||
6 | }; | ||||
7 | |||||
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) | ||||
12 | } | ||||
13 | }; |