opnsense-src/test/CodeGenObjC/attr-strong.c

10 lines
145 B
C
Raw Normal View History

2010-01-01 05:34:51 -05:00
// RUN: %clang -emit-llvm -S -o %t %s
2009-06-02 13:58:47 -04:00
struct s0 {
void *a;
};
struct s0 * __attribute__((objc_gc(strong))) g0;
void f0(void) {
g0->a = 0;
}