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