Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
c7162937a4ccd044a0df67eed4a73ee828c49162
/
.
/
test
/
Rewriter
/
id-test-3.m
blob: 7e4cc51d735713756d19aa562b2856b100a5dfb4 [
file
] [
log
] [
blame
]
// RUN: clang-cc -rewrite-objc %s -o=-
@protocol
P
-
(
id
<
P
>)
Meth
:
(
id
<
P
>)
Arg
;
@end
@interface
INTF
<
P
>
-
(
id
<
P
>)
IMeth
;
@end
@implementation
INTF
-
(
id
<
P
>)
IMeth
{
return
[(
id
<
P
>)
self
Meth
:
(
id
<
P
>)
0
];
}
-
(
id
<
P
>)
Meth
:
(
id
<
P
>)
Arg
{
return
0
;
}
@end