xref: /minix3/external/bsd/llvm/dist/clang/test/CodeCompletion/member-access.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1 struct Point {
2   float x;
3   float y;
4   float z;
5 };
6 
test(struct Point * p)7 void test(struct Point *p) {
8   p->
9   // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:8:6 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
10   // CHECK-CC1: x
11   // CHECK-CC1: y
12   // CHECK-CC1: z
13