diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-06-17 14:53:53 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-06-17 14:53:53 +0000 |
commit | 3b6752eec5c588a10d1109e4f907f024cece4074 (patch) | |
tree | ee7ca8cf85cddfd99917467dd65a59f5a452c55d /unittests | |
parent | 044de9c6f765d946abfd32b3f89a9033da5dd734 (diff) | |
download | external_llvm-3b6752eec5c588a10d1109e4f907f024cece4074.zip external_llvm-3b6752eec5c588a10d1109e4f907f024cece4074.tar.gz external_llvm-3b6752eec5c588a10d1109e4f907f024cece4074.tar.bz2 |
For reasons I can't fathom MSVC supports ULL but not LLU suffixes on long long integer literals.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158648 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/Support/BlockFrequencyTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Support/BlockFrequencyTest.cpp b/unittests/Support/BlockFrequencyTest.cpp index df25642..9c5bd7b 100644 --- a/unittests/Support/BlockFrequencyTest.cpp +++ b/unittests/Support/BlockFrequencyTest.cpp @@ -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) { |