xref: /llvm-project/clang/test/CodeGen/attr-cleanup.c (revision 0f1c1be1968076d6f96f8a7bcc4a15cf195ecd97)
1 // RUN: %clang_cc1 -emit-llvm %s -o %t
2 
3 void f(void* arg);
g(void)4 void g(void) {
5   __attribute__((cleanup(f))) void *g;
6 }
7 
8