| 1 | // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -emit-llvm -o %t %s |
|---|---|
| 2 | // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -emit-llvm -o %t %s |
| 3 | @class NSObject; |
| 4 | |
| 5 | @interface Foo { |
| 6 | @public |
| 7 | __weak NSObject *nsobject; |
| 8 | } |
| 9 | @end |
| 10 | |
| 11 | @implementation Foo @end |
| 12 |