xref: /llvm-project/clang/test/CodeGenObjC/attr-strong.c (revision 5618e98f3345d87076550a56ebe571bf85e6d34e)
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;
f0(void)7 void f0(void) {
8   g0->a = 0;
9 }
10