llvm-project/clang/test/CodeCompletion/incomplete-member.cpp

9 lines
194 B
C++

struct IncompleteType;
void foo() {
IncompleteType *f;
f->x;
}
// RUN: not %clang_cc1 -fsyntax-only -code-completion-at=%s:5:6 %s -o - | FileCheck %s -allow-empty
// CHECK-NOT: COMPLETION: