1 int *ptr; // expected-warning {{missing a nullability type specifier}} 2 3 #pragma clang assume_nonnull begin 4 5 extern void **blah; // expected-warning 2{{missing a nullability type specifier}} 6 7 __attribute__((objc_root_class)) 8 @interface ClassWithWeakProperties 9 @property (readonly, weak) ClassWithWeakProperties *prop1; 10 @property (readonly, weak, null_unspecified) ClassWithWeakProperties *prop2; 11 @end 12 13 @interface ClassWithWeakProperties () 14 @property (readonly, weak) ClassWithWeakProperties *prop3; 15 @end 16 17 #pragma clang assume_nonnull end 18 19