repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
SemaObjC
/
enhanced-proto-2.m
blob
352f29160e530061cb40ba2d9d46adae601cf0c2
1
// RUN: %clang_cc1 -verify -Wno-objc-root-class %s
2
// expected-no-diagnostics
3
4
@protocol MyProto1
5
@optional
6
- (void) FOO;
7
@optional
8
- (void) FOO1;
9
@optional
10
- (void) REQ;
11
@optional
12
@end
13
14
@interface MyProto2 <MyProto1>
15
- (void) FOO2;
16
- (void) FOO3;
17
@end
18
19
@implementation MyProto2
20
- (void) FOO2{}
21
- (void) FOO3{}
22
@end