1 // // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fobjc-nonfragile-abi -fsyntax-only -fobjc-arc -verify %s 2 // rdar://9744349 3 4 typedef const struct __CFString * CFStringRef; 5 6 @interface I 7 @property CFStringRef P; 8 @end 9 10 @implementation I 11 @synthesize P; 12 - (id) Meth { 13 I* p1 = (id)[p1 P]; 14 id p2 = (__bridge_transfer id)[p1 P]; 15 id p3 = (__bridge I*)[p1 P]; 16 return (id) p1.P; 17 } 18 @end 19