llvm-project/clang/test/CodeCompletion/member-access.c

13 lines
250 B
C

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=CHECK-CC1 %s
// CHECK-CC1: x
// CHECK-CC1: y
// CHECK-CC1: z