Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -verify -fsyntax-only |
Andy Gibbs | 8e8fb3b | 2012-10-19 12:44:48 +0000 | [diff] [blame] | 2 | // expected-no-diagnostics |
Anders Carlsson | b90052a | 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 | } |