xref: /llvm-project/clang/test/CodeCompletion/functions.cpp (revision ea9b03e6e23408325145ca089e4d7d6386b65a2d)
1 void f(int i, int j = 2, int k = 5);
2 void f(float x, float y);
3 
4 void test() {
5   ::
6   // RUN: clang-cc -fsyntax-only -code-completion-at=%s:5:5 %s -o - | FileCheck -check-prefix=CC1 %s &&
7   // CHECK-CC1: f(<#int i#>{#, <#int j#>{#, <#int k#>#}#})
8   // CHECK-CC1: f(<#float x#>, <#float y#>)
9   // RUN: true
10