| 1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null -fobjc-gc |
|---|---|
| 2 | // rdar://5541393 |
| 3 | |
| 4 | typedef unsigned int NSUInteger; |
| 5 | __attribute__((objc_gc(strong))) float *_scores; |
| 6 | |
| 7 | void foo(int i, float f) { |
| 8 | _scores[i] = f; |
| 9 | } |
| 10 |
| 1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null -fobjc-gc |
|---|---|
| 2 | // rdar://5541393 |
| 3 | |
| 4 | typedef unsigned int NSUInteger; |
| 5 | __attribute__((objc_gc(strong))) float *_scores; |
| 6 | |
| 7 | void foo(int i, float f) { |
| 8 | _scores[i] = f; |
| 9 | } |
| 10 |