llvm-for-llvmta/tools/clang/test/CodeCompletion/member-access-qualifiers.cpp

14 lines
370 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
struct deque_base {
int &size();
const int &size() const;
};
struct deque : private deque_base {
int size() const;
};
auto x = deque().
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:10:18 %s -o - | FileCheck %s
// CHECK: COMPLETION: size : [#int#]size()[# const#]
// CHECK: COMPLETION: size (Hidden,InBase,Inaccessible) : [#int &#]deque_base::size()