diff options
Diffstat (limited to 'clang/test/CodeGen/attr-cleanup.c')
-rw-r--r-- | clang/test/CodeGen/attr-cleanup.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/CodeGen/attr-cleanup.c b/clang/test/CodeGen/attr-cleanup.c new file mode 100644 index 0000000..7c2053d --- /dev/null +++ b/clang/test/CodeGen/attr-cleanup.c @@ -0,0 +1,8 @@ +// RUN: %clang_cc1 -emit-llvm %s -o %t + +// <rdar://problem/6827047> +void f(void* arg); +void g() { + __attribute__((cleanup(f))) void *g; +} + |