Do not warn with -Wuninitialized when the member is used in a sizeof or address-of...
[clang.git] / test / SemaObjC / no-gc-weak-test.m
blobca8318d00fc219cf6a710f5792871cef8fb8f40a
1 // RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s
3 @interface Subtask
5   id _delegate;
7 @property(nonatomic,readwrite,assign)   id __weak       delegate;
8 @end
10 @implementation Subtask
11 @synthesize delegate = _delegate;
12 @end
15 @interface PVSelectionOverlayView2 
17  id __weak _selectionRect;
20 @property(assign) id selectionRect;
22 @end
24 @implementation PVSelectionOverlayView2
26 @synthesize selectionRect = _selectionRect;
27 @end