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