xref: /llvm-project/clang/test/CodeCompletion/crash-func-decl.cpp (revision cf9b25e0adc42546e4dc5ff51ee8674d45bac26b)
1 // Important that BB is unknown.
2 // This triggers completion in PCC_RecoveryInFunction context, with no function.
3 int AA(BB cc);
4 // RUN: not %clang_cc1 -fsyntax-only -code-completion-at=%s:%(line-1):12 %s | FileCheck %s
5 // CHECK: COMPLETION: char
6