1 /* Contributed by Nicola Pero - Fri Mar 9 21:35:47 CET 2001 */
4 #include "../../objc-obj-c++-shared/TestsuiteObject.m"
6 /* Test defining a protocol, a class adopting it in a category */
12 @interface Feature : TestsuiteObject
15 @implementation Feature
18 @interface Feature (EvaluatingProtocol) <Evaluating>
21 @implementation Feature (EvaluatingProtocol)
30 id <Evaluating> object;
32 object = [Feature new];
34 if ([object importance] != 1000)