mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-01 01:30:36 +00:00
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
This commit is contained in:
parent
044de9c6f7
commit
3b6752eec5
@ -34,7 +34,7 @@ TEST(BlockFrequencyTest, MaxToHalfMax) {
|
|||||||
BlockFrequency Freq(UINT64_MAX);
|
BlockFrequency Freq(UINT64_MAX);
|
||||||
BranchProbability Prob(UINT32_MAX / 2, UINT32_MAX);
|
BranchProbability Prob(UINT32_MAX / 2, UINT32_MAX);
|
||||||
Freq *= Prob;
|
Freq *= Prob;
|
||||||
EXPECT_EQ(Freq.getFrequency(), 9223372034707292159LLu);
|
EXPECT_EQ(Freq.getFrequency(), 9223372034707292159ULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(BlockFrequencyTest, BigToBig) {
|
TEST(BlockFrequencyTest, BigToBig) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user