tree-sitter-objc/examples/SemaObjC/attr-cleanup.m

12 lines
163 B
Mathematica
Raw Normal View History

2022-04-16 15:58:26 +00:00
// RUN: %clang_cc1 %s -verify -fsyntax-only
// expected-no-diagnostics
@class NSString;
void c1(id *a);
void t1()
{
NSString *s __attribute((cleanup(c1)));
}