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