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

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

@implementation Foo @end
OpenPOWER on IntegriCloud