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