diff options
Diffstat (limited to 'clang/test/SemaObjC/attr-cleanup.m')
-rw-r--r-- | clang/test/SemaObjC/attr-cleanup.m | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/SemaObjC/attr-cleanup.m b/clang/test/SemaObjC/attr-cleanup.m new file mode 100644 index 0000000..8415c69 --- /dev/null +++ b/clang/test/SemaObjC/attr-cleanup.m @@ -0,0 +1,10 @@ +// RUN: %clang_cc1 %s -verify -fsyntax-only + +@class NSString; + +void c1(id *a); + +void t1() +{ + NSString *s __attribute((cleanup(c1))); +} |