repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git]
/
test
/
Rewriter
/
static-type-protocol-1.m
blob
a072c9f3ca3f15ee509711b2d332afbf51786af3
1
// RUN: %clang_cc1 -rewrite-objc %s -o -
2
3
@protocol Proto
4
- (void) ProtoDidget;
5
@end
6
7
@protocol MyProto <Proto>
8
- (void) widget;
9
@end
10
11
@interface Foo
12
- (void)StillMode;
13
@end
14
15
@interface Container
16
+ (void)MyMeth;
17
@end
18
19
@implementation Container
20
+ (void)MyMeth
21
{
22
Foo *view;
23
[(Foo <MyProto> *)view StillMode];
24
[(Foo <MyProto> *)view widget];
25
[(Foo <MyProto> *)view ProtoDidget];
26
}
27
@end