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
5 typedef struct __attribute__((objc_bridge_related(NSColor,colorWithCGColor:,CGColor))) CGColor *CGColorRef;
8 + (NSColor *)colorWithCGColor:(CGColorRef)cgColor;
9 @property CGColorRef CGColor;
12 @interface NSTextField
13 - (void)setBackgroundColor:(NSColor *)color;
14 - (NSColor *)backgroundColor;
17 CGColorRef Test(NSTextField *textField, CGColorRef newColor) {
18 newColor = textField.backgroundColor;
19 return textField.backgroundColor;
21 // CHECK:{18:38-18:38}:".CGColor"
22 // CHECK:{19:34-19:34}:".CGColor"