repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
2015-09-24 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
objc
/
execute
/
np-1.m
blob
a14fcc3e6382204183c6c57ac3ee5628e60f652c
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
8
@protocol MyProtocol
9
- (oneway void) methodA;
10
@end
11
12
@interface MyObject <MyProtocol>
13
@end
14
15
@implementation MyObject
16
- (oneway void) methodA
17
{
18
}
19
@end
20
21
int main (void)
22
{
23
MyObject *object = nil;
24
25
[object methodA];
26
27
return 0;
28
}
29
30