member-access.c 250 B

123456789101112
  1. struct Point {
  2. float x;
  3. float y;
  4. float z;
  5. };
  6. void test(struct Point *p) {
  7. p->
  8. // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:8:6 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
  9. // CHECK-CC1: x
  10. // CHECK-CC1: y
  11. // CHECK-CC1: z