llvm.org GIT mirror llvm / 4bffb62
unittests/Support/DataExtractorTest.cpp: Specify ULL explicitly to a few constants. It seems i686-cygwin-gcc-4.3 does not accept 64-bit constant without LL. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139664 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 9 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
3434 EXPECT_EQ(0x8090FFFFU, DE.getU32(&offset));
3535 EXPECT_EQ(4U, offset);
3636 offset = 0;
37 EXPECT_EQ(0x8090FFFF80000000U, DE.getU64(&offset));
37 EXPECT_EQ(0x8090FFFF80000000ULL, DE.getU64(&offset));
3838 EXPECT_EQ(8U, offset);
3939 offset = 0;
40 EXPECT_EQ(0x8090FFFF80000000U, DE.getAddress(&offset));
40 EXPECT_EQ(0x8090FFFF80000000ULL, DE.getAddress(&offset));
4141 EXPECT_EQ(8U, offset);
4242 offset = 0;
4343
5656 EXPECT_EQ(0xFFFF9080U, DE.getU32(&offset));
5757 EXPECT_EQ(4U, offset);
5858 offset = 0;
59 EXPECT_EQ(0x80FFFF9080U, DE.getU64(&offset));
59 EXPECT_EQ(0x80FFFF9080ULL, DE.getU64(&offset));
6060 EXPECT_EQ(8U, offset);
6161 offset = 0;
6262 EXPECT_EQ(0xFFFF9080U, DE.getAddress(&offset));