summaryrefslogtreecommitdiff
path: root/clang/test/CodeCompletion/preamble.c
blob: f322e09f12e02324b30b0fc20f4bd1dcf0ffa3e2 (about) (plain)
1
2
3
4
5
6
7
#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')