File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
Inputs/clang-importer-sdk/usr/include Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -384,3 +384,11 @@ func getContainerForPanda() -> AnimalContainer<Animal> {
384
384
func getContainerForFungiblePanda( ) -> FungibleAnimalContainer < Animal & Fungible > {
385
385
return Panda . getFungibleContainer ( )
386
386
}
387
+
388
+ // rdar://problem/30832766 - Infinite recursion while checking conformance
389
+ // to AnyObject
390
+ let third : Third ! = Third ( )
391
+
392
+ func useThird( ) {
393
+ _ = third. description
394
+ }
Original file line number Diff line number Diff line change @@ -101,3 +101,14 @@ typedef id <Fungible> FungibleObject;
101
101
+ (FungibleAnimalContainer *)getFungibleContainer ;
102
102
103
103
@end
104
+
105
+ @interface First <__covariant T> : NSObject
106
+ @end
107
+
108
+ @interface Second <__covariant T> : First<T>
109
+ @end
110
+
111
+ @class Third;
112
+
113
+ @interface Third : Second <Third *>
114
+ @end
You can’t perform that action at this time.
0 commit comments