mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Fix a few more conversion warnings on 4.0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82232 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0674f4b44b
commit
393317975c
@ -175,11 +175,11 @@ TEST(APIntTest, fromString) {
|
||||
EXPECT_EQ(APInt(32, 3), APInt(32, "+11", 2));
|
||||
EXPECT_EQ(APInt(32, 4), APInt(32, "+100", 2));
|
||||
|
||||
EXPECT_EQ(APInt(32, -0LL), APInt(32, "-0", 2));
|
||||
EXPECT_EQ(APInt(32, -1LL), APInt(32, "-1", 2));
|
||||
EXPECT_EQ(APInt(32, -2LL), APInt(32, "-10", 2));
|
||||
EXPECT_EQ(APInt(32, -3LL), APInt(32, "-11", 2));
|
||||
EXPECT_EQ(APInt(32, -4LL), APInt(32, "-100", 2));
|
||||
EXPECT_EQ(APInt(32, uint64_t(-0LL)), APInt(32, "-0", 2));
|
||||
EXPECT_EQ(APInt(32, uint64_t(-1LL)), APInt(32, "-1", 2));
|
||||
EXPECT_EQ(APInt(32, uint64_t(-2LL)), APInt(32, "-10", 2));
|
||||
EXPECT_EQ(APInt(32, uint64_t(-3LL)), APInt(32, "-11", 2));
|
||||
EXPECT_EQ(APInt(32, uint64_t(-4LL)), APInt(32, "-100", 2));
|
||||
|
||||
|
||||
EXPECT_EQ(APInt(32, 0), APInt(32, "0", 8));
|
||||
|
Loading…
Reference in New Issue
Block a user