We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 160dcdb commit 3271991Copy full SHA for 3271991
llvm/unittests/ADT/APIntTest.cpp
@@ -77,8 +77,8 @@ TEST(APIntTest, PowerMaxValue) {
77
// Test that SignedMinValue^3 == 0
78
TEST(APIntTest, PowerSignedMinValueTo3) {
79
APInt SignedMinValue = APInt::getSignedMinValue(32);
80
- APInt MaxTo3 = APIntOps::pow(SignedMinValue, 3);
81
- EXPECT_TRUE(MaxTo3.isZero());
+ APInt MinTo3 = APIntOps::pow(SignedMinValue, 3);
+ EXPECT_TRUE(MinTo3.isZero());
82
}
83
84
// Test that SignedMinValue^1 == SignedMinValue
0 commit comments