xref: /llvm-project/clang/test/CodeCompletion/functions.cpp (revision 34546ce43d3d89c102a99882ae3825423a28abcd)
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