John McCall | 260611a | 2012-06-20 06:18:46 +0000 | [diff] [blame] | 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 | ||||
Fariborz Jahanian | 86f938b | 2009-02-21 18:23:24 +0000 | [diff] [blame] | 3 | @class NSObject; |
4 | |||||
5 | @interface Foo { | ||||
6 | @public | ||||
7 | __weak NSObject *nsobject; | ||||
8 | } | ||||
9 | @end | ||||
10 | |||||
11 | @implementation Foo @end |