OSDN Git Service

For reasons I can't fathom MSVC supports ULL but not LLU suffixes on long long intege...
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 17 Jun 2012 14:53:53 +0000 (14:53 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 17 Jun 2012 14:53:53 +0000 (14:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158648 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Support/BlockFrequencyTest.cpp

index df25642..9c5bd7b 100644 (file)
@@ -34,7 +34,7 @@ TEST(BlockFrequencyTest, MaxToHalfMax) {
   BlockFrequency Freq(UINT64_MAX);
   BranchProbability Prob(UINT32_MAX / 2, UINT32_MAX);
   Freq *= Prob;
-  EXPECT_EQ(Freq.getFrequency(), 9223372034707292159LLu);
+  EXPECT_EQ(Freq.getFrequency(), 9223372034707292159ULL);
 }
 
 TEST(BlockFrequencyTest, BigToBig) {