android_mt6572_jiabo/external/clang/test/SemaObjC/attr-cleanup.m
2025-09-05 16:56:03 +08:00

11 lines
163 B
Objective-C

// RUN: %clang_cc1 %s -verify -fsyntax-only
// expected-no-diagnostics
@class NSString;
void c1(id *a);
void t1()
{
NSString *s __attribute((cleanup(c1)));
}