r355664 - Fix test case committed in r355662.
Akira Hatanaka via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 7 21:30:54 PST 2019
Author: ahatanak
Date: Thu Mar 7 21:30:54 2019
New Revision: 355664
URL: http://llvm.org/viewvc/llvm-project?rev=355664&view=rev
Log:
Fix test case committed in r355662.
Build bots were failing because wide string literals don't have type
'int *' on some targets.
Modified:
cfe/trunk/test/SemaObjC/boxing-illegal.m
Modified: cfe/trunk/test/SemaObjC/boxing-illegal.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/boxing-illegal.m?rev=355664&r1=355663&r2=355664&view=diff
==============================================================================
--- cfe/trunk/test/SemaObjC/boxing-illegal.m (original)
+++ cfe/trunk/test/SemaObjC/boxing-illegal.m Thu Mar 7 21:30:54 2019
@@ -66,7 +66,7 @@ void testStringLiteral() {
s = @(u8"abc");
s = @(u"abc"); // expected-error {{illegal type 'unsigned short *' used in a boxed expression}}
s = @(U"abc"); // expected-error {{illegal type 'unsigned int *' used in a boxed expression}}
- s = @(L"abc"); // expected-error {{illegal type 'int *' used in a boxed expression}}
+ s = @(L"abc"); // expected-error-re {{illegal type {{'int \*'|'unsigned short \*'}} used in a boxed expression}}
s = @("\pabc"); // expected-error {{illegal type 'unsigned char *' used in a boxed expression}}
}
More information about the cfe-commits
mailing list