mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 11:16:07 +00:00

should not impede creating a proper TypeLoc info for the decl-spec. This improves our semantic error recovery. llvm-svn: 152481
9 lines
208 B
Objective-C
9 lines
208 B
Objective-C
struct S {
|
|
int {
|
|
};
|
|
typedef struct S S;
|
|
|
|
// RUN: c-index-test -index-file %s | FileCheck %s
|
|
// CHECK: [indexDeclaration]: kind: struct | name: S |
|
|
// CHECK-NOT: [indexDeclaration]: kind: struct | name: S |
|