llvm-for-llvmta/tools/clang/test/CodeGenObjC/attr-strong.c
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

10 lines
145 B
C

// 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;
}