1 /* { dg-do compile } */
4 #include "../../objc-obj-c++-shared/TestsuiteObject.h"
6 @interface obj : TestsuiteObject {
14 - (int) mth { return var; }
17 __attribute__ ((deprecated("no dep_categ")))
18 @interface obj (dep_categ)
19 - (int) depmth;/* { dg-warning "category attributes are not available in this version" } */
22 __attribute__ ((deprecated))
23 @implementation obj (dep_categ) /* { dg-warning "prefix attributes are ignored for implementations" } */
24 - (int) depmth { return var + 1; }