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