[cfe-commits] r64545 - in /cfe/trunk/test/SemaObjC: attr-objc-gc.m objc-gc-attr.m

Chris Lattner sabre at nondot.org
Sat Feb 14 00:08:06 PST 2009


Author: lattner
Date: Sat Feb 14 02:08:05 2009
New Revision: 64545

URL: http://llvm.org/viewvc/llvm-project?rev=64545&view=rev
Log:
rename test

Added:
    cfe/trunk/test/SemaObjC/attr-objc-gc.m
      - copied unchanged from r64541, cfe/trunk/test/SemaObjC/objc-gc-attr.m
Removed:
    cfe/trunk/test/SemaObjC/objc-gc-attr.m

Removed: cfe/trunk/test/SemaObjC/objc-gc-attr.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/objc-gc-attr.m?rev=64544&view=auto

==============================================================================
--- cfe/trunk/test/SemaObjC/objc-gc-attr.m (original)
+++ cfe/trunk/test/SemaObjC/objc-gc-attr.m (removed)
@@ -1,8 +0,0 @@
-// RUN: clang -fsyntax-only -verify %s
-static id __attribute((objc_gc(weak))) a;
-static id __attribute((objc_gc(strong))) b;
-
-static id __attribute((objc_gc())) c; // expected-error{{'objc_gc' attribute requires parameter 1 to be a string}}
-static id __attribute((objc_gc(123))) d; // expected-error{{'objc_gc' attribute requires parameter 1 to be a string}}
-static id __attribute((objc_gc(foo, 456))) e; // expected-error{{attribute requires 1 argument(s)}}
-static id __attribute((objc_gc(hello))) f; // expected-warning{{'objc_gc' attribute argument not supported: 'hello'}}





More information about the cfe-commits mailing list