2 // We should get all three completions when the cursor is at the beginning,
6 // RUN: %clang_cc1 -code-completion-at=%s:%(line-2):1 %s | FileCheck --check-prefix=CHECK-CLS %s
8 // RUN: %clang_cc1 -code-completion-at=%s:%(line-4):3 %s | FileCheck --check-prefix=CHECK-CLS %s
10 // RUN: %clang_cc1 -code-completion-at=%s:%(line-6):6 %s | FileCheck --check-prefix=CHECK-CLS %s
12 // CHECK-CLS: COMPLETION: class{{$}}
13 // CHECK-CLS: COMPLETION: classifier : classifier
16 // RUN: %clang_cc1 -code-completion-at=%s:%(line-12):7 %s | FileCheck --check-prefix=CHECK-NO-CLS %s
18 // RUN: %clang_cc1 -code-completion-at=%s:%(line-14):8 %s | FileCheck --check-prefix=CHECK-NO-CLS %s
19 // CHECK-NO-CLS-NOT: COMPLETION: class{{$}}
20 // CHECK-NO-CLS: COMPLETION: classifier : classifier