From 8ce3b6fad0ae5c56133116526e7516896174888b Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Mon, 25 Nov 2013 18:23:23 +0000 Subject: [PATCH] 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 --- test/CXX/drs/dr2xx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}} -- 2.40.0