llvm-for-llvmta/tools/clang/test/CodeCompletion/crash-func-decl.cpp
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

6 lines
239 B
C++

// 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