Mark MDNode::getOperand as readonly.
[oota-llvm.git] / unittests / ADT / StringRefTest.cpp
index e9c017babfc55e0222a79d4d02330c72dab945ce..fa87cd0e2c8673d3f7ec4bf51f707904f480c591 100644 (file)
@@ -7,11 +7,11 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "gtest/gtest.h"
 #include "llvm/ADT/StringRef.h"
 #include "llvm/ADT/Hashing.h"
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/Support/raw_ostream.h"
+#include "gtest/gtest.h"
 using namespace llvm;
 
 namespace llvm {
@@ -470,7 +470,7 @@ static const char* BadStrings[] = {
 
 
 TEST(StringRefTest, getAsUnsignedIntegerBadStrings) {
-  uint64_t U64;
+  unsigned long long U64;
   for (size_t i = 0; i < array_lengthof(BadStrings); ++i) {
     bool IsBadNumber = StringRef(BadStrings[i]).getAsInteger(0, U64);
     ASSERT_TRUE(IsBadNumber);