| Daniel Dunbar | 8fbe78f | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -verify -fsyntax-only |
| Anders Carlsson | f2f2e7f | 2009-02-25 17:19:08 +0000 | [diff] [blame] | 2 | |
| 3 | @class NSString; | ||||
| 4 | |||||
| 5 | void c1(id *a); | ||||
| 6 | |||||
| 7 | void t1() | ||||
| 8 | { | ||||
| 9 | NSString *s __attribute((cleanup(c1))); | ||||
| 10 | } | ||||