YouCompleteMe/cpp/llvm/tools/clang/test/SemaObjC/no-gc-weak-test.m

29 lines
472 B
Mathematica
Raw Normal View History

// RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify -Wno-objc-root-class %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