Fix the clang-wpa example.
[clang.git] / test / CodeGenObjC / objc2-weak-ivar-debug.m
blob8f7acd7619ac5dd5a31818df0a7d446dba58f802
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-gc -g -emit-llvm -o - %s
2 // RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-gc -g -emit-llvm -o - %s
3 // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin9 -fobjc-gc -g -emit-llvm -o - %s
4 // RUN: %clang_cc1 -x objective-c++ -triple i386-apple-darwin9 -fobjc-gc -g -emit-llvm -o - %s
6 // rdar://7252252
7 @interface Loop {
8 @public
9   __weak Loop *_loop;
11 @end
13 @implementation Loop @end
15 void loop(Loop *L) {
16   L->_loop = 0;