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