llvm-project/clang/test/CodeGen/attr-cleanup.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
144 B
C
Raw Normal View History

// RUN: %clang_cc1 -emit-llvm %s -o %t
// <rdar://problem/6827047>
void f(void* arg);
void g(void) {
__attribute__((cleanup(f))) void *g;
}