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