1 /* Contributed by Nicola Pero - Fri Mar 9 21:35:47 CET 2001 */
3 #include <objc/Protocol.h>
5 /* Test defining a protocol, and accessing it using @protocol */
11 /* A class adopting the protocol */
12 @interface Test <Evaluating>
24 Protocol *protocol = @protocol (Evaluating);
26 if (strcmp ([protocol name], "Evaluating"))