summaryrefslogtreecommitdiff
path: root/clang/test/CodeCompletion/member-access.c
blob: f41c509c8809da374902ec82829bfcf90468ea51 (about) (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_cc1 -fsyntax-only -code-completion-at=%s:8:6 %s -o - | FileCheck -check-prefix=CC1 %s
  // CHECK-CC1: x
  // CHECK-CC1: y
  // CHECK-CC1: z