used as reciver type of a message expression.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44693
91177308-0d34-0410-b5e6-
96231b3b80d8
--- /dev/null
+// RUN: clang -rewrite-test %s
+
+@protocol Proto
+- (void) ProtoDidget;
+@end
+
+@protocol MyProto <Proto>
+- (void) widget;
+@end
+
+@interface Foo
+- (void)StillMode;
+@end
+
+@interface Container
++ (void)MyMeth;
+@end
+
+@implementation Container
++ (void)MyMeth
+{
+ Foo *view;
+ [(Foo <MyProto> *)view StillMode];
+ [(Foo <MyProto> *)view widget];
+ [(Foo <MyProto> *)view ProtoDidget];
+}
+@end