1*f4a2713aSLionel Sambuctypedef const void *CFTypeRef; 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambucvoid test(id x) { 4*f4a2713aSLionel Sambuc (__bridge CFTypeRef)x; 5*f4a2713aSLionel Sambuc} 6*f4a2713aSLionel Sambuc 7*f4a2713aSLionel Sambuc 8*f4a2713aSLionel Sambuc 9*f4a2713aSLionel Sambuc// RUN: c-index-test -code-completion-at=%s:4:4 %s -fobjc-arc -fobjc-nonfragile-abi | FileCheck -check-prefix=CHECK-CC1 %s 10*f4a2713aSLionel Sambuc// CHECK-CC1: macro definition:{TypedText __autoreleasing} (70) 11*f4a2713aSLionel Sambuc// CHECK-CC1: NotImplemented:{TypedText __bridge}{HorizontalSpace }{Placeholder type}{RightParen )}{Placeholder expression} (40) 12*f4a2713aSLionel Sambuc// CHECK-CC1: NotImplemented:{TypedText __bridge_retained}{HorizontalSpace }{Placeholder CF type}{RightParen )}{Placeholder expression} (40) 13*f4a2713aSLionel Sambuc// CHECK-CC1: NotImplemented:{TypedText __bridge_transfer}{HorizontalSpace }{Placeholder Objective-C type}{RightParen )}{Placeholder expression} (40) 14*f4a2713aSLionel Sambuc// CHECK-CC1: macro definition:{TypedText __strong} (70) 15*f4a2713aSLionel Sambuc// CHECK-CC1: macro definition:{TypedText __unsafe_unretained} (70) 16*f4a2713aSLionel Sambuc// CHECK-CC1: macro definition:{TypedText __weak} (70) 17