1 // RUN: %clang_cc1 -emit-llvm %s -o %t
2 
3 // <rdar://problem/6827047>
4 void f(void* arg);
5 void g() {
6   __attribute__((cleanup(f))) void *g;
7 }
8 
9