1 /* { dg-do compile } */
5 __attribute__ ((deprecated))
6 @interface DeprecatedClass
13 __attribute__ ((deprecated))
14 @implementation DeprecatedClass /* { dg-warning "prefix attributes are ignored for implementations" } */
15 + (id) new { return nil; }
20 DeprecatedClass *object = [DeprecatedClass new]; /* { dg-warning "is deprecated" } */