1*f4a2713aSLionel Sambuc // Note: the run lines follow their respective tests, since line/column
2*f4a2713aSLionel Sambuc // matter in this test.
3*f4a2713aSLionel Sambuc void f0(float x, float y);
4*f4a2713aSLionel Sambuc void f1();
test()5*f4a2713aSLionel Sambuc void test() {
6*f4a2713aSLionel Sambuc f0(0, 0);
7*f4a2713aSLionel Sambuc g0(0, 0);
8*f4a2713aSLionel Sambuc f1(0, 0);
9*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -std=c89 -fsyntax-only -code-completion-at=%s:6:6 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
10*f4a2713aSLionel Sambuc // CHECK-CC1: f0(<#float x#>, float y)
11*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -std=c89 -fsyntax-only -code-completion-at=%s:6:9 %s -o - | FileCheck -check-prefix=CHECK-CC2 %s
12*f4a2713aSLionel Sambuc // CHECK-CC2: f0(float x, <#float y#>)
13*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -std=c89 -fsyntax-only -code-completion-at=%s:8:6 %s -o - | FileCheck -check-prefix=CHECK-CC3 %s
14*f4a2713aSLionel Sambuc // CHECK-CC3: f1()
15*f4a2713aSLionel Sambuc }
16