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
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
Parser
/
enhanced-proto-1.m
blob
bad5c7c258d25c40fedea04aa27a4d8e88562e2f
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
4
@protocol MyProto1
5
@optional
6
- (void) FOO;
7
@optional
8
- (void) FOO1;
9
@required
10
- (void) REQ;
11
@optional
12
@end
13
14
@protocol MyProto2 <MyProto1>
15
- (void) FOO2;
16
@optional
17
- (void) FOO3;
18
@end