summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/attr-strong.c
blob: f1474bc93eb590cccedc58a3727777372c7cf987 (about) (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang -emit-llvm -S -o %t %s

struct s0 {
  void *a;
};
struct s0 * __attribute__((objc_gc(strong))) g0;
void f0(void) {
  g0->a = 0;
}