// RUN: %clang_cc1 -rewrite-objc -fobjc-fragile-abi %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