mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-26 14:58:59 -04:00

2007-04-03-ObjcEH.m 2007-05-02-Strong.m 2007-10-18-ProDescriptor.m 2007-10-23-GC-WriteBarrier.m 2008-10-3-EhValue.m 2008-11-12-Metadata.m 2008-11-24-ConstCFStrings.m from llvm/test/FrontendObjC. llvm-svn: 138172
10 lines
206 B
Objective-C
10 lines
206 B
Objective-C
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null -fobjc-gc
|
|
// rdar://5541393
|
|
|
|
typedef unsigned int NSUInteger;
|
|
__attribute__((objc_gc(strong))) float *_scores;
|
|
|
|
void foo(int i, float f) {
|
|
_scores[i] = f;
|
|
}
|