From: Akira Hatanaka Date: Fri, 8 Mar 2019 05:30:54 +0000 (+0000) Subject: Fix test case committed in r355662. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae78f33054b081980625557c31599d3548954461;p=clang Fix test case committed in r355662. Build bots were failing because wide string literals don't have type 'int *' on some targets. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@355664 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaObjC/boxing-illegal.m b/test/SemaObjC/boxing-illegal.m index 329873ac6a..0d44dc197a 100644 --- a/test/SemaObjC/boxing-illegal.m +++ b/test/SemaObjC/boxing-illegal.m @@ -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}} }