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