1 /* Contributed by Nicola Pero - Fri Mar 9 21:35:47 CET 2001 */
3 #include <objc/Object.h>
5 /* Test defining a protocol, a class adopting it in a category */
11 @interface Feature : Object
14 @implementation Feature
17 @interface Feature (EvaluatingProtocol) <Evaluating>
20 @implementation Feature (EvaluatingProtocol)
29 id <Evaluating> object;
31 object = [Feature new];
33 if ([object importance] != 1000)