summaryrefslogtreecommitdiff
path: root/clang/test/SemaObjC/attr-cleanup.m
blob: 8415c698f3485de4bd8c374b38c46e505d30e66e (about) (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 %s -verify -fsyntax-only

@class NSString;

void c1(id *a);

void t1()
{
  NSString *s __attribute((cleanup(c1)));
}