1 /* Contributed by Nicola Pero - Fri Mar 9 21:35:47 CET 2001 */
4 #include "../../objc-obj-c++-shared/TestsuiteObject.m"
6 /* Tests defining a protocol and a class adopting it */
10 - (void) setEnabled: (BOOL)flag;
13 @interface Feature : TestsuiteObject <Enabling>
20 @implementation Feature
25 - (void) setEnabled: (BOOL)flag
35 object = [Feature new];
37 [object setEnabled: YES];
38 if (![object isEnabled])