Home | History | Annotate | Download | only in SemaObjC
      1 // RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify -Wno-objc-root-class %s
      2 // expected-no-diagnostics
      3 
      4 @interface Subtask
      5 {
      6   id _delegate;
      7 }
      8 @property(nonatomic,readwrite,assign)   id __weak       delegate;
      9 @end
     10 
     11 @implementation Subtask
     12 @synthesize delegate = _delegate;
     13 @end
     14 
     15  
     16 @interface PVSelectionOverlayView2 
     17 {
     18  id __weak _selectionRect;
     19 }
     20 
     21 @property(assign) id selectionRect;
     22 
     23 @end
     24 
     25 @implementation PVSelectionOverlayView2
     26 
     27 @synthesize selectionRect = _selectionRect;
     28 @end
     29 
     30