Add regression test for rdar://30832766, fixed by AnyObject removal

This commit is contained in:
Slava Pestov
2017-05-07 18:30:24 -07:00
parent 8a1062dedd
commit f2c46b6629
2 changed files with 19 additions and 0 deletions

View File

@@ -101,3 +101,14 @@ typedef id <Fungible> FungibleObject;
+ (FungibleAnimalContainer *)getFungibleContainer;
@end
@interface First<__covariant T> : NSObject
@end
@interface Second<__covariant T> : First<T>
@end
@class Third;
@interface Third : Second<Third *>
@end