From: Richard Smith Date: Mon, 25 Nov 2013 18:23:23 +0000 (+0000) Subject: Fix test failure on targets where size_t is unsigned int. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ce3b6fad0ae5c56133116526e7516896174888b;p=clang Fix test failure on targets where size_t is unsigned int. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195673 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CXX/drs/dr2xx.cpp b/test/CXX/drs/dr2xx.cpp index 345fa8b43d..314c696536 100644 --- a/test/CXX/drs/dr2xx.cpp +++ b/test/CXX/drs/dr2xx.cpp @@ -1003,7 +1003,7 @@ namespace dr299 { // dr299: yes c++11 }; struct T { operator int(); // expected-note {{}} - operator unsigned(); // expected-note {{}} + operator unsigned short(); // expected-note {{}} }; // FIXME: should this apply to c++98 mode? int *p = new int[S()]; // expected-error 0-1{{extension}}