StmtPrinter: factor out arg printing code to PrintCallArgs
[clang.git] / test / CodeCompletion / ordinary-name.c
blobdda7bb018a0f9f702f8c5cfd490be62216db4353
1 #include <reserved.h>
2 struct X { int x; };
3 typedef struct t TYPEDEF;
4 typedef struct t _TYPEDEF;
5 void foo() {
6 int y;
7 // RUN: %clang_cc1 -isystem %S/Inputs -fsyntax-only -code-completion-at=%s:6:9 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
8 // CHECK-CC1: _Imaginary
9 // CHECK-CC1-NOT: _INTEGER_TYPE;
10 // CHECK-CC1: _TYPEDEF
11 // CHECK-CC1: FLOATING_TYPE
12 // CHECK-CC1: foo
13 // CHECK-CC1: TYPEDEF
14 // CHECK-CC1: y
16 // PR8744
17 // RUN: %clang_cc1 -isystem %S/Inputs -fsyntax-only -code-completion-at=%s:1:11 %s