Revert "Limit the symbol search in DynamicLibrary to the module that was opened."
[oota-llvm.git] / unittests / ADT / ArrayRefTest.cpp
index 83a012d0cb1daec218392bef5c8c5efecfc91806..a25f932d4ce683d2d7951360307155a1ceb6cad7 100644 (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