[cfe-commits] r68900 - in /cfe/trunk/test/SemaObjC: id-1.m id.m

Chris Lattner sabre at nondot.org
Sun Apr 12 02:04:22 PDT 2009


Author: lattner
Date: Sun Apr 12 04:04:18 2009
New Revision: 68900

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

Added:
    cfe/trunk/test/SemaObjC/id.m
      - copied unchanged from r68899, cfe/trunk/test/SemaObjC/id-1.m
Removed:
    cfe/trunk/test/SemaObjC/id-1.m

Removed: cfe/trunk/test/SemaObjC/id-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/id-1.m?rev=68899&view=auto

==============================================================================
--- cfe/trunk/test/SemaObjC/id-1.m (original)
+++ cfe/trunk/test/SemaObjC/id-1.m (removed)
@@ -1,20 +0,0 @@
-// RUN: clang-cc -fsyntax-only -verify %s
-
- at protocol Foo;
-
-Class T;
-id<Foo> S;
-id R;
-void foo() {
-  // Test assignment compatibility of Class and id.  No warning should be
-  // produced.
-  // rdar://6770142 - Class and id<foo> are compatible.
-  S = T; T = S;
-  R = T; T = R;
-  R = S; S = R;
-}
-
-// Test attempt to redefine 'id' in an incompatible fashion.
-typedef int id;   // expected-error {{typedef redefinition with different types}}
-id b;
-





More information about the cfe-commits mailing list