summaryrefslogtreecommitdiff
path: root/test/CodeGenObjC/objc2-weak-ivar.m
blob: bcdb25c03068fca8c7d9b5ab33cf2999c269fd50 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: clang -cc1 -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
@class NSObject;

@interface Foo  {
@public
  __weak NSObject *nsobject;
}
@end

@implementation Foo @end