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