Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeCompletion / ordinary-name.c
blobc8181a248daa2fae964aca9ae337c731392deb0b
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:%(line-1):9 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
8 // CHECK-CC1-NOT: __INTEGER_TYPE
9 // CHECK-CC1: _Imaginary
10 // CHECK-CC1: _MyPrivateType
11 // CHECK-CC1: _TYPEDEF
12 // CHECK-CC1: FLOATING_TYPE
13 // CHECK-CC1: foo
14 // CHECK-CC1: TYPEDEF
15 // CHECK-CC1: y
17 // PR8744
18 // RUN: %clang_cc1 -isystem %S/Inputs -fsyntax-only -code-completion-at=%s:%(line-17):11 %s