llvm-for-llvmta/tools/clang/test/CodeGenObjC/attr-strong.c

10 lines
145 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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;
}