diff options
Diffstat (limited to 'test/PCH/objc_exprs.m')
-rw-r--r-- | test/PCH/objc_exprs.m | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/PCH/objc_exprs.m b/test/PCH/objc_exprs.m index eb1ae434a7e0..48966f36f33a 100644 --- a/test/PCH/objc_exprs.m +++ b/test/PCH/objc_exprs.m @@ -6,7 +6,7 @@ // RUN: clang-cc -fblocks -include-pch %t -fsyntax-only -verify %s // Expressions -int *A1 = (objc_string)0; // expected-warning {{'struct objc_object *'}} +int *A1 = (objc_string)0; // expected-warning {{aka 'id'}} char A2 = (objc_encode){}; // expected-error {{not a compile-time constant}} \ expected-warning {{char [2]}} @@ -15,8 +15,7 @@ int *A3 = (objc_protocol)0; // expected-warning {{aka 'Protocol *'}} // Types. -int *T0 = (objc_id_protocol_ty)0; // expected-error {{not a compile-time constant}} \ - expected-warning {{aka 'id<foo>'}} +int *T0 = (objc_id_protocol_ty)0; // 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> *'}} |