summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/attr-cleanup.c
blob: 7c2053d7ac3569fab3f80843b5fea540dcbf56b0 (about) (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -emit-llvm %s -o %t

// <rdar://problem/6827047>
void f(void* arg);
void g() {
  __attribute__((cleanup(f))) void *g;
}