YouCompleteMe/cpp/llvm/tools/clang/test/SemaObjC/no-gc-weak-test.m
Strahinja Val Markovic 1f51a89d39 Adding more llvm/clang files
These were ignored by git accidentally. We want ALL OF THEM since they all came
in the llvm/clang source distribution.
2012-07-05 17:55:45 -07:00

29 lines
472 B
Objective-C

// 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