1 /* Contributed by Nicola Pero - Fri Jun 4 03:16:17 BST 2004 */
2 /* Test that a protocol is equal to itself. */
3 #include "../../objc-obj-c++-shared/Protocol1.h"
11 Protocol *protocol = @protocol(Foo);
13 #ifdef NEXT_OBJC_USE_NEW_INTERFACE
14 if ( !protocol_isEqual (protocol, protocol))
16 if (! [protocol isEqual: protocol])