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