xref: /aosp_15_r20/external/clang/test/CodeGen/attr-cleanup.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 -emit-llvm %s -o %t
2 
3 // <rdar://problem/6827047>
4 void f(void* arg);
g()5 void g() {
6   __attribute__((cleanup(f))) void *g;
7 }
8 
9