freebsd-dev/test/CodeGen/attr-cleanup.c

9 lines
140 B
C
Raw Normal View History

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