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-05-29 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
objc.dg
/
enhanced-proto-1.m
blob
fef4c97b5c87465c4873f6a65ca5440c1a03514d
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