1 #pragma clang assume_nonnull begin
3 __attribute__((objc_root_class
))
10 __attribute__((objc_root_class
))
11 @interface NSGeneric
<T
: B
*> // expected-note{{type parameter 'T' declared here}}
13 - (nullable T
)maybeTee
;
16 typedef NSGeneric
<C
*> *Generic_with_C
;
18 #pragma clang assume_nonnull end
20 @interface NSGeneric
<T
: C
*>(Blah
) // expected-error{{type bound 'C *' for type parameter 'T' conflicts with previous bound 'B *'}}