]> granicus.if.org Git - clang/commitdiff
Fix test failure on targets where size_t is unsigned int.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 25 Nov 2013 18:23:23 +0000 (18:23 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 25 Nov 2013 18:23:23 +0000 (18:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195673 91177308-0d34-0410-b5e6-96231b3b80d8

test/CXX/drs/dr2xx.cpp

index 345fa8b43d9af3f07ab96dd199db12931a9759c8..314c69653602932bad2c6b6f9b50e5ed38bef23c 100644 (file)
@@ -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}}