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
/
np-1.m
blob
6de2623e61b813058fb9abd697c1267a1efbec50
1
/*
2
* Contributed by Nicola Pero <n.pero@mi.flashnet.it>
3
* Tue Sep 19 4:29AM
4
*/
5
6
#include <objc/objc.h>
7
#include <objc/Protocol.h>
8
9
@protocol MyProtocol
10
- (oneway void) methodA;
11
@end
12
13
@interface MyObject <MyProtocol>
14
@end
15
16
@implementation MyObject
17
- (oneway void) methodA
18
{
19
}
20
@end
21
22
int main (void)
23
{
24
MyObject *object = nil;
25
26
[object methodA];
27
28
exit (0);
29
}
30
31