blob: 4faff15c05a74b7ce98d5e1ad492882862fd6cec [file] [log] [blame]
Douglas Gregor9c6a0e92009-09-22 15:41:20 +00001// RUN: clang-cc -fsyntax-only -code-completion-dump=1 %s -o - | FileCheck -check-prefix=CC1 %s &&
2// RUN: true
3void f(float x, float y);
4void f(int i, int j, int k);
5struct X { };
6void f(X);
7namespace N {
8 struct Y {
9 Y(int = 0);
10
11 operator int() const;
12 };
13 void f(Y y);
14}
15typedef N::Y Y;
16void f();
17
18void test() {
19 // CHECK-CC1: f : 0 : f(<#struct N::Y y#>)
20 // CHECK-NEXT-CC1: f : 0 : f(<#int i#>, <#int j#>, <#int k#>)
21 // CHECK-NEXT-CC1: f : 0 : f(<#float x#>, <#float y#>)
22 f(Y(),