YouCompleteMe/cpp/llvm/tools/clang/test/CodeCompletion/preamble.c

8 lines
292 B
C
Raw Normal View History

#include "some_struct.h"
void foo() {
struct X x;
x.
// RUN: env CINDEXTEST_EDITING=1 c-index-test -code-completion-at=%s:4:5 -Xclang -code-completion-patterns %s | FileCheck -check-prefix=CHECK-CC1 %s
// CHECK-CC1: FieldDecl:{ResultType int}{TypedText m} (35) (parent: StructDecl 'X')