llvm-project/clang/test/CodeCompletion/member-access-qualifiers.cpp

14 lines
370 B
C++

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()