r195673 - Fix test failure on targets where size_t is unsigned int.
Richard Smith
richard-llvm at metafoo.co.uk
Mon Nov 25 10:23:24 PST 2013
Author: rsmith
Date: Mon Nov 25 12:23:23 2013
New Revision: 195673
URL: http://llvm.org/viewvc/llvm-project?rev=195673&view=rev
Log:
Fix test failure on targets where size_t is unsigned int.
Modified:
cfe/trunk/test/CXX/drs/dr2xx.cpp
Modified: cfe/trunk/test/CXX/drs/dr2xx.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/drs/dr2xx.cpp?rev=195673&r1=195672&r2=195673&view=diff
==============================================================================
--- cfe/trunk/test/CXX/drs/dr2xx.cpp (original)
+++ cfe/trunk/test/CXX/drs/dr2xx.cpp Mon Nov 25 12:23:23 2013
@@ -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}}
More information about the cfe-commits
mailing list