Skip to content

Commit f492dfc

Browse files
author
ImanHosseini
committed
V_1024
1 parent 7aea8ba commit f492dfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/unittests/ADT/APIntTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ TEST(APIntTest, PowOneTo16) {
4848
TEST(APIntTest, PowerTwoTo10) {
4949
APInt Two(32, 2);
5050
APInt TwoTo20 = APIntOps::pow(Two, 10);
51-
APInt V_1024 = APInt::getZero(32) + 1024;
51+
APInt V_1024(32, 1024);
5252
EXPECT_EQ(TwoTo20, V_1024);
5353
}
5454

0 commit comments

Comments
 (0)