1*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-c -fobjc-arc %s 2>&1 | FileCheck %s 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc@interface I 4*f4a2713aSLionel Sambuc@property id prop; 5*f4a2713aSLionel Sambuc@property (atomic) id atomic_prop; 6*f4a2713aSLionel Sambuc- (id) prop; 7*f4a2713aSLionel Sambuc- (id) atomic_prop; 8*f4a2713aSLionel Sambuc 9*f4a2713aSLionel Sambuc@property ( ) id prop1; 10*f4a2713aSLionel Sambuc 11*f4a2713aSLionel Sambuc@property (copy, atomic, readwrite) id atomic_prop1; 12*f4a2713aSLionel Sambuc 13*f4a2713aSLionel Sambuc@property (copy, readwrite) id prop2; 14*f4a2713aSLionel Sambuc@end 15*f4a2713aSLionel Sambuc 16*f4a2713aSLionel Sambuc@implementation I 17*f4a2713aSLionel Sambuc@synthesize prop, prop1, prop2; 18*f4a2713aSLionel Sambuc@synthesize atomic_prop, atomic_prop1; 19*f4a2713aSLionel Sambuc- (id) prop { return 0; } 20*f4a2713aSLionel Sambuc- (id) prop1 { return 0; } 21*f4a2713aSLionel Sambuc- (id) prop2 { return 0; } 22*f4a2713aSLionel Sambuc- (id) atomic_prop { return 0; } 23*f4a2713aSLionel Sambuc- (id) atomic_prop1 { return 0; } 24*f4a2713aSLionel Sambuc@end 25*f4a2713aSLionel Sambuc 26*f4a2713aSLionel Sambuc// CHECK: {4:1-4:10}:"@property (nonatomic) " 27*f4a2713aSLionel Sambuc// CHECK: {9:1-9:12}:"@property (nonatomic" 28*f4a2713aSLionel Sambuc// CHECK: {13:1-13:12}:"@property (nonatomic, " 29*f4a2713aSLionel Sambuc 30