Skip to content

Commit 08b6861

Browse files
author
git apple-llvm automerger
committed
Merge commit 'e3f16de9a33d' from llvm.org/main into next
2 parents 9e31698 + e3f16de commit 08b6861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/unittests/Support/LEB128Test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ TEST(LEB128Test, SLEB128Size) {
379379
EXPECT_EQ(10u, getSLEB128Size(-0x4100000000000000LL));
380380

381381
EXPECT_EQ(10u, getSLEB128Size(-0x7fffffffffffffffLL));
382-
EXPECT_EQ(10u, getSLEB128Size(-0x8000000000000000LL));
382+
EXPECT_EQ(10u, getSLEB128Size(-0x7fffffffffffffffLL - 1));
383383
EXPECT_EQ(10u, getSLEB128Size(INT64_MIN));
384384
}
385385

0 commit comments

Comments
 (0)