1 // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-c %s 2>&1 | FileCheck %s
2 // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-arc -fdiagnostics-parseable-fixits -x objective-c %s 2>&1 | FileCheck %s
3 // RUN: not %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-c++ %s 2>&1 | FileCheck %s
6 typedef struct __attribute__((objc_bridge_related(NSColor,colorWithCGColor:,CGColor))) CGColor *CGColorRef;
9 + (NSColor *)colorWithCGColor:(CGColorRef)cgColor;
10 @property CGColorRef CGColor;
13 @interface NSTextField
14 - (void)setBackgroundColor:(NSColor *)color;
15 - (NSColor *)backgroundColor;
18 CGColorRef Test(NSTextField *textField, CGColorRef newColor) {
19 newColor = textField.backgroundColor;
20 return textField.backgroundColor;
22 // CHECK:{19:38-19:38}:".CGColor"
23 // CHECK:{20:34-20:34}:".CGColor"