Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s |
Fariborz Jahanian | 27b7aa0 | 2010-05-20 18:22:28 +0000 | [diff] [blame] | 2 | // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin9 -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 |