blob: 7c2053d7ac3569fab3f80843b5fea540dcbf56b0 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -emit-llvm %s -o %t
Anders Carlssoncabec032009-04-26 00:34:20 +00002
3// <rdar://problem/6827047>
4void f(void* arg);
5void g() {
Mike Stump1eb44332009-09-09 15:08:12 +00006 __attribute__((cleanup(f))) void *g;
Anders Carlssoncabec032009-04-26 00:34:20 +00007}
8