OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2011-01-08 Dominique d'Humieres <dominiq@lps.ens.fr>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
objc.dg
/
enhanced-proto-1.m
1
/* APPLE LOCAL file C* language */
2
/* Test use of @optional/@required keywords in @protocol class. */
3
/* { dg-do compile } */
4
5
@protocol MyProto1
6
@optional
7
- (void) FOO;
8
@optional
9
- (void) FOO;
10
@required
11
- (void) REQ;
12
@optional
13
@end
14
15
@protocol MyProto2 <MyProto1>
16
- (void) FOO2;
17
@optional
18
- (void) FOO3;
19
@end