summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ADT/StringRefTest.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-09-22 19:21:32 +0000
committerZachary Turner <zturner@google.com>2016-09-22 19:21:32 +0000
commitaec851ce9a39d5ed595dfd9ca9cd886574a67670 (patch)
tree75cedd0ef2ea17b3bfb96d6868c51d12b9c778c4 /llvm/unittests/ADT/StringRefTest.cpp
parent8dacca943af8a53a23b1caf3142d10fb4a77b645 (diff)
downloadbcm5719-llvm-aec851ce9a39d5ed595dfd9ca9cd886574a67670.tar.gz
bcm5719-llvm-aec851ce9a39d5ed595dfd9ca9cd886574a67670.zip
Fix build breakage due to typo in cast.
llvm-svn: 282183
Diffstat (limited to 'llvm/unittests/ADT/StringRefTest.cpp')
-rw-r--r--llvm/unittests/ADT/StringRefTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/unittests/ADT/StringRefTest.cpp b/llvm/unittests/ADT/StringRefTest.cpp
index 40ab4e038b8..39ed71b77e9 100644
--- a/llvm/unittests/ADT/StringRefTest.cpp
+++ b/llvm/unittests/ADT/StringRefTest.cpp
@@ -580,6 +580,8 @@ static const char* BadStrings[] = {
, "08" // illegal oct characters
, "0o8" // illegal oct characters
, "-123" // negative unsigned value
+ , "0x"
+ , "0b"
};
OpenPOWER on IntegriCloud