Lines Matching refs:MyClass
5 @interface MyClass { // expected-note 7 {{'MyClass' has been explicitly marked unavailable here}} interface
8 MyClass *ivar; // no error.
14 - (MyClass *)meth; // no error.
19 MyClass *ivar; // expected-error {{unavailable}}
21 - (MyClass *)meth; // expected-error {{unavailable}}
24 @interface MyClass (Cat1) interface in Cat1
25 - (MyClass *)meth; // no error.
28 @interface MyClass (Cat2) // no error. interface in Cat2
31 @implementation MyClass (Cat2) // no error. implementation in Cat2
35 [MyClass new]; // expected-error {{'MyClass' is unavailable: not available}}
36 [MyClass self]; // expected-error {{'MyClass' is unavailable: not available}}
37 [MyClass addObject:((void *)0)]; // expected-error {{'MyClass' is unavailable: not available}}
39 MyClass *foo = [MyClass new]; // expected-error 2 {{'MyClass' is unavailable: not available}}