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