repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
objc
/
execute
/
protocol-isEqual-3.m
blob
2827448a98fba698f466f59cedbc4db3e7d60062
1
/* Contributed by Nicola Pero - Fri Jun 4 03:16:17 BST 2004 */
2
/* Test that a protocol is not equal to nil. */
3
#include <objc/Protocol.h>
4
5
@protocol Foo
6
- (void)foo;
7
@end
8
9
int main (void)
10
{
11
if ([@protocol(Foo) isEqual: nil])
12
{
13
abort ();
14
}
15
16
return 0;
17
}
18