1*67e74705SXin Li// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -debug-info-kind=limited -emit-llvm -o - %s 2*67e74705SXin Li// RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -debug-info-kind=limited -emit-llvm -o - %s 3*67e74705SXin Li// RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -debug-info-kind=limited -emit-llvm -o - %s 4*67e74705SXin Li// RUN: %clang_cc1 -x objective-c++ -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -debug-info-kind=limited -emit-llvm -o - %s 5*67e74705SXin Li 6*67e74705SXin Li// rdar://7252252 7*67e74705SXin Li@interface Loop { 8*67e74705SXin Li@public 9*67e74705SXin Li __weak Loop *_loop; 10*67e74705SXin Li} 11*67e74705SXin Li@end 12*67e74705SXin Li 13*67e74705SXin Li@implementation Loop @end 14*67e74705SXin Li 15*67e74705SXin Livoid loop(Loop *L) { 16*67e74705SXin Li L->_loop = 0; 17*67e74705SXin Li} 18