mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-01 01:30:36 +00:00
Remove warning about testing unsigned int with int.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156812 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
661f760320
commit
fc6fd994ab
@ -149,7 +149,7 @@ TEST(SmallMapTest, GeneralTest) {
|
|||||||
SmallMap<int, int, 8> d;
|
SmallMap<int, int, 8> d;
|
||||||
d[0] = 2;
|
d[0] = 2;
|
||||||
d[1] = 3;
|
d[1] = 3;
|
||||||
unsigned counts[2] = { 0, 0 };
|
int counts[2] = { 0, 0 };
|
||||||
for (SmallMap<int, int, 8>::iterator I = d.begin(), E = d.end(); I != E;
|
for (SmallMap<int, int, 8>::iterator I = d.begin(), E = d.end(); I != E;
|
||||||
++I) {
|
++I) {
|
||||||
EXPECT_TRUE(I->first == 0 || I->first == 1);
|
EXPECT_TRUE(I->first == 0 || I->first == 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user