1 // RUN: %clang_cc1 -std=gnu++17 -verify %s
3 // expected-no-diagnostics
5 typedef const struct __CFString * CFStringRef;
8 typedef const struct __attribute__((objc_bridge(NSString))) __CFString * CFStringRef;
9 typedef struct __attribute__((objc_bridge_mutable(NSMutableString))) __CFString * CFMutableStringRef;
12 @interface NSString @end
13 @interface NSMutableString : NSString @end
15 void CFStringGetLength(CFStringRef theString);
18 CFStringGetLength((__bridge CFStringRef)(NSString *)0);