ADT: Unit test for ArrayRef::equals change in r215986

llvm-svn: 216008
This commit is contained in:
Duncan P. N. Exon Smith 2014-08-19 19:18:46 +00:00
parent 62fccf853a
commit 119044acf4

View File

@ -59,4 +59,8 @@ TEST(ArrayRefTest, Equals) {
EXPECT_FALSE(AR1b.equals(3, 4, 5, 6, 7));
}
TEST(ArrayRefTest, EmptyEquals) {
EXPECT_TRUE(ArrayRef<unsigned>() == ArrayRef<unsigned>());
}
} // end anonymous namespace