hanchenye-llvm-project/clang/test/SemaObjC/no-gc-weak-test.m

29 lines
449 B
Objective-C

// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -verify %s
@interface Subtask
{
id _delegate;
}
@property(nonatomic,readwrite,assign) id __weak delegate;
@end
@implementation Subtask
@synthesize delegate = _delegate;
@end
@interface PVSelectionOverlayView2
{
id __weak _selectionRect;
}
@property(assign) id selectionRect;
@end
@implementation PVSelectionOverlayView2
@synthesize selectionRect = _selectionRect;
@end