1 | // RUN: %clang_cc1 %s -verify -fsyntax-only |
---|---|
2 | // expected-no-diagnostics |
3 | |
4 | @class NSString; |
5 | |
6 | void c1(id *a); |
7 | |
8 | void t1() |
9 | { |
10 | NSString *s __attribute((cleanup(c1))); |
11 | } |
12 |
1 | // RUN: %clang_cc1 %s -verify -fsyntax-only |
---|---|
2 | // expected-no-diagnostics |
3 | |
4 | @class NSString; |
5 | |
6 | void c1(id *a); |
7 | |
8 | void t1() |
9 | { |
10 | NSString *s __attribute((cleanup(c1))); |
11 | } |
12 |