opnsense-src/test/CodeGen/attr-cleanup.c

9 lines
140 B
C
Raw Normal View History

2010-01-01 05:34:51 -05:00
// RUN: %clang_cc1 -emit-llvm %s -o %t
2009-06-02 13:58:47 -04:00
// <rdar://problem/6827047>
void f(void* arg);
void g() {
2009-10-14 14:03:49 -04:00
__attribute__((cleanup(f))) void *g;
2009-06-02 13:58:47 -04:00
}