1 /* Contributed by Nicola Pero - Fri Mar 9 21:35:47 CET 2001 */
4 #include <objc/Protocol.h>
5 #include "../../objc-obj-c++-shared/runtime.h"
7 /* Test defining a protocol, and accessing it using @protocol */
13 /* A class adopting the protocol */
14 @interface Test <Evaluating>
26 Protocol *protocol = @protocol (Evaluating);
28 if (strcmp (protocol_getName(protocol), "Evaluating"))