aboutsummaryrefslogtreecommitdiff
path: root/test/CodeCompletion/member-access.c
blob: c9ac58f295d4d026329e08b44114f5fc213a2808 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
struct Point {
  float x;
  float y;
  float z;
};

void test(struct Point *p) {
  p->
  // RUN: clang-cc -fsyntax-only -code-completion-at=%s:8:6 %s -o - | FileCheck -check-prefix=CC1 %s
  // CHECK-CC1: x
  // CHECK-CC1: y
  // CHECK-CC1: z