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
2013-10-29 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
obj-c++.dg
/
enhanced-proto-1.mm
blob
97e14206b16f9934909b3c27f3c24c040e95d02b
1
/* Test use of @optional/@required keywords in @protocol class. */
2
/* { dg-do compile } */
3
4
@protocol MyProto1
5
@optional
6
- (void) FOO;
7
@optional
8
- (void) FOO;
9
@required
10
- (void) REQ;
11
@optional
12
@end
13
14
@protocol MyProto2 <MyProto1>
15
- (void) FOO2;
16
@optional
17
- (void) FOO3;
18
@end