diff options
| author | Akira Hatanaka <ahatanaka@apple.com> | 2019-03-08 05:30:54 +0000 |
|---|---|---|
| committer | Akira Hatanaka <ahatanaka@apple.com> | 2019-03-08 05:30:54 +0000 |
| commit | a453455cee6767589638caca2f533184577ec745 (patch) | |
| tree | 259859c56ae5074ef37e41246e59a0b20982b0fa /clang/test/SemaObjC | |
| parent | ed9822928626a45a749b3297a46c8fb7375c814e (diff) | |
| download | bcm5719-llvm-a453455cee6767589638caca2f533184577ec745.tar.gz bcm5719-llvm-a453455cee6767589638caca2f533184577ec745.zip | |
Fix test case committed in r355662.
Build bots were failing because wide string literals don't have type
'int *' on some targets.
llvm-svn: 355664
Diffstat (limited to 'clang/test/SemaObjC')
| -rw-r--r-- | clang/test/SemaObjC/boxing-illegal.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaObjC/boxing-illegal.m b/clang/test/SemaObjC/boxing-illegal.m index 329873ac6ad..0d44dc197a1 100644 --- a/clang/test/SemaObjC/boxing-illegal.m +++ b/clang/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}} } |

