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