summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-11-25 18:23:23 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-11-25 18:23:23 +0000
commit458eb55e550aeb27076d7a62498c170001ff8c3d (patch)
tree60f58c6059c31bf4decd179914408114e5f8098a
parent9200bb08f9c1308bb692483f8e4e39ac90b5474b (diff)
downloadbcm5719-llvm-458eb55e550aeb27076d7a62498c170001ff8c3d.tar.gz
bcm5719-llvm-458eb55e550aeb27076d7a62498c170001ff8c3d.zip
Fix test failure on targets where size_t is unsigned int.
llvm-svn: 195673
-rw-r--r--clang/test/CXX/drs/dr2xx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CXX/drs/dr2xx.cpp b/clang/test/CXX/drs/dr2xx.cpp
index 345fa8b43d9..314c6965360 100644
--- a/clang/test/CXX/drs/dr2xx.cpp
+++ b/clang/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}}
OpenPOWER on IntegriCloud