llvm-for-llvmta/tools/clang/test/CodeCompletion/crash-func-decl.cpp

6 lines
239 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// Important that BB is unknown.
// This triggers completion in PCC_RecoveryInFunction context, with no function.
int AA(BB cc);
// RUN: not %clang_cc1 -fsyntax-only -code-completion-at=%s:3:12 %s | FileCheck %s
// CHECK: COMPLETION: char