Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm %s -o %t |
Anders Carlsson | cabec03 | 2009-04-26 00:34:20 +0000 | [diff] [blame] | 2 | |
3 | // <rdar://problem/6827047> | ||||
4 | void f(void* arg); | ||||
5 | void g() { | ||||
Mike Stump | 1eb4433 | 2009-09-09 15:08:12 +0000 | [diff] [blame] | 6 | __attribute__((cleanup(f))) void *g; |
Anders Carlsson | cabec03 | 2009-04-26 00:34:20 +0000 | [diff] [blame] | 7 | } |
8 |