2010-07-15 01:44:04 +08:00
|
|
|
#include <reserved.h>
|
2009-09-22 04:51:25 +08:00
|
|
|
struct X { int x; };
|
2009-09-28 11:51:44 +08:00
|
|
|
typedef struct t TYPEDEF;
|
2010-07-15 01:44:04 +08:00
|
|
|
typedef struct t _TYPEDEF;
|
2009-09-22 04:51:25 +08:00
|
|
|
void foo() {
|
|
|
|
int y;
|
2010-07-15 01:44:04 +08:00
|
|
|
// RUN: %clang_cc1 -isystem %S/Inputs -fsyntax-only -code-completion-at=%s:6:9 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
|
|
|
|
// CHECK-CC1: _Imaginary
|
|
|
|
// CHECK-CC1-NOT: _INTEGER_TYPE;
|
|
|
|
// CHECK-CC1: _TYPEDEF
|
|
|
|
// CHECK-CC1: FLOATING_TYPE
|
2010-01-14 07:24:38 +08:00
|
|
|
// CHECK-CC1: foo
|
|
|
|
// CHECK-CC1: TYPEDEF
|
2010-07-15 01:44:04 +08:00
|
|
|
// CHECK-CC1: y
|