deserialization support for qualified interfaces


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69782 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/PCH/objc_exprs.h b/test/PCH/objc_exprs.h
index ea6f275..4d58c1f 100644
--- a/test/PCH/objc_exprs.h
+++ b/test/PCH/objc_exprs.h
@@ -1,5 +1,6 @@
 
 @protocol foo;
+@class itf;
 
 // Expressions
 typedef typeof(@"foo" "bar") objc_string;
@@ -10,3 +11,5 @@
 // Types.
 typedef typeof(id<foo>) objc_id_protocol_ty;
 
+typedef typeof(itf*) objc_interface_ty;
+typedef typeof(itf<foo>*) objc_qual_interface_ty;
diff --git a/test/PCH/objc_exprs.m b/test/PCH/objc_exprs.m
index 0b20af8..5b631b4 100644
--- a/test/PCH/objc_exprs.m
+++ b/test/PCH/objc_exprs.m
@@ -18,5 +18,6 @@
 int *T0 = (objc_id_protocol_ty)0; // expected-error {{not a compile-time constant}} \
                                      expected-warning {{aka 'id<foo>'}}
 
-
+int *T1 = (objc_interface_ty)0; // expected-warning {{aka 'itf *'}}
+int *T2 = (objc_qual_interface_ty)0; // expected-warning {{aka 'itf<foo> *'}}