1 #define ID(X) X
2
test(bool input_var)3 void test(bool input_var) {
4 ID(input_var) = true;
5 // Check that input_var shows up when completing at the start, in the middle
6 // and at the end of the identifier.
7 //
8 // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:4:6 %s -o - | FileCheck %s
9 // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:4:8 %s -o - | FileCheck %s
10 // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:4:15 %s -o - | FileCheck %s
11
12 // CHECK: input_var
13 }
14