summaryrefslogtreecommitdiffstats
path: root/test/Index/c-index-api-loadTU-test.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/Index/c-index-api-loadTU-test.m')
-rw-r--r--test/Index/c-index-api-loadTU-test.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Index/c-index-api-loadTU-test.m b/test/Index/c-index-api-loadTU-test.m
index 22875db..4e5eed4 100644
--- a/test/Index/c-index-api-loadTU-test.m
+++ b/test/Index/c-index-api-loadTU-test.m
@@ -66,6 +66,10 @@ int main (int argc, const char * argv[]) {
- (IBAction) actionMethod:(id)arg;
@end
+typedef struct X0 X1;
+struct X0;
+struct X0 {};
+
// CHECK: c-index-api-loadTU-test.m:4:12: ObjCInterfaceDecl=Foo:4:12 Extent=[4:1 - 12:5]
// CHECK: c-index-api-loadTU-test.m:6:32: ObjCIvarDecl=myoutlet:6:32 (Definition) Extent=[6:32 - 6:40]
// CHECK: <invalid loc>:0:0: attribute(iboutlet)=
OpenPOWER on IntegriCloud