mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-03 14:08:57 +00:00
ADT: Unit test for ArrayRef::equals change in r215986
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216008 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bb69ce8c70
commit
7d84c8ec54
@ -59,4 +59,8 @@ TEST(ArrayRefTest, Equals) {
|
|||||||
EXPECT_FALSE(AR1b.equals(3, 4, 5, 6, 7));
|
EXPECT_FALSE(AR1b.equals(3, 4, 5, 6, 7));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST(ArrayRefTest, EmptyEquals) {
|
||||||
|
EXPECT_TRUE(ArrayRef<unsigned>() == ArrayRef<unsigned>());
|
||||||
|
}
|
||||||
|
|
||||||
} // end anonymous namespace
|
} // end anonymous namespace
|
||||||
|
Loading…
Reference in New Issue
Block a user