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
/
objc-type-printing.m
blob
0cb6bbb544335112e2b4344ae87c1f4dbed20db3
1
// RUN: %clang_cc1 -ast-print %s
2
3
@protocol P1 @end
4
@protocol P2 @end
5
@protocol P3 @end
6
7
@interface INTF
8
- (INTF<P1>*) METH;
9
@end
10
11
void foo(void)
12
{
13
INTF *pintf;
14
INTF<P1>* p1;
15
INTF<P1, P1>* p2;
16
INTF<P1, P3>* p3;
17
INTF<P1, P3, P2>* p4;
18
INTF<P2,P2, P3, P1>* p5;
19
}