For reasons I can't fathom MSVC supports ULL but not LLU suffixes on long long integer literals.
llvm-svn: 158648
This commit is contained in:
parent
6bc197e4cd
commit
a520de10c9
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue