Diagnose conversion of 'Class' to/from objective-c 
object pointer types.
Fixes radar 7634850.

llvm-svn: 98970
diff --git a/clang/test/SemaObjC/id.m b/clang/test/SemaObjC/id.m
index 98904fe..206127a 100644
--- a/clang/test/SemaObjC/id.m
+++ b/clang/test/SemaObjC/id.m
@@ -9,7 +9,8 @@
   // Test assignment compatibility of Class and id.  No warning should be
   // produced.
   // rdar://6770142 - Class and id<foo> are compatible.
-  S = T; T = S;
+  S = T; // expected-warning {{incompatible pointer types assigning 'Class', expected 'id<Foo>'}}
+  T = S; // expected-warning {{incompatible pointer types assigning 'id<Foo>', expected 'Class'}}
   R = T; T = R;
   R = S; S = R;
 }