| 1 | // RUN: %clang -emit-llvm -S -o %t %s |
|---|---|
| 2 | |
| 3 | struct s0 { |
| 4 | void *a; |
| 5 | }; |
| 6 | struct s0 * __attribute__((objc_gc(strong))) g0; |
| 7 | void f0(void) { |
| 8 | g0->a = 0; |
| 9 | } |
| 10 |
| 1 | // RUN: %clang -emit-llvm -S -o %t %s |
|---|---|
| 2 | |
| 3 | struct s0 { |
| 4 | void *a; |
| 5 | }; |
| 6 | struct s0 * __attribute__((objc_gc(strong))) g0; |
| 7 | void f0(void) { |
| 8 | g0->a = 0; |
| 9 | } |
| 10 |