mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-10-11 05:15:50 +00:00
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
Block a user