blob: 978498ca64b52ffd2f0d90e9bdedb3e5b23b9d59 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 %s -verify -fsyntax-only
Andy Gibbs8e8fb3b2012-10-19 12:44:48 +00002// expected-no-diagnostics
Anders Carlssonb90052a2009-02-25 17:19:08 +00003
4@class NSString;
5
6void c1(id *a);
7
8void t1()
9{
10 NSString *s __attribute((cleanup(c1)));
11}