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 /* Without a class adopting the protocol - this doesn't work
12 with gcc-2.95.2 as well */
16 Protocol *protocol = @protocol (Evaluating);
18 if (strcmp ([protocol name], "Evaluating"))