// RUN: clang-cc -rewrite-objc %s -o=- @protocol Proto - (void) ProtoDidget; @end @protocol MyProto - (void) widget; @end @interface Foo - (void)StillMode; @end @interface Container + (void)MyMeth; @end @implementation Container + (void)MyMeth { Foo *view; [(Foo *)view StillMode]; [(Foo *)view widget]; [(Foo *)view ProtoDidget]; } @end