Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
d98aab5a7ed06af779fdafa293b0df44ce8606dc
/
.
/
test
/
Parser
/
objc-type-printing.m
blob: 5d3cbd994f9d44e702fa22ab7ae40ca09f1cdab7 [
file
] [
log
] [
blame
]
// RUN: clang -ast-print %s
@protocol
P1
@end
@protocol
P2
@end
@protocol
P3
@end
@interface
INTF
-
(
INTF
<
P1
>*)
METH
;
@end
void
foo
()
{
INTF
*
pintf
;
INTF
<
P1
>*
p1
;
INTF
<
P1
,
P1
>*
p2
;
INTF
<
P1
,
P3
>*
p3
;
INTF
<
P1
,
P3
,
P2
>*
p4
;
INTF
<
P2
,
P2
,
P3
,
P1
>*
p5
;
}