Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / objc / execute / protocol-isEqual-2.m
blob035ab3b685c018f6969c015ebf23848fe05f30a9
1 /* Contributed by Nicola Pero - Fri Jun  4 03:16:17 BST 2004 */
2 /* Test that protocols with different names are different.  */
3 #include <objc/Protocol.h>
5 @protocol Foo1
6 - (void)foo1;
7 @end
9 @protocol Foo2
10 - (void)foo2;
11 @end
13 int main (void)
15   if ([@protocol(Foo1) isEqual: @protocol(Foo2)])
16     {
17       abort ();
18     }
19   
20   return 0;