projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "Limit the symbol search in DynamicLibrary to the module that was opened."
[oota-llvm.git]
/
unittests
/
ADT
/
ArrayRefTest.cpp
diff --git
a/unittests/ADT/ArrayRefTest.cpp
b/unittests/ADT/ArrayRefTest.cpp
index 83a012d0cb1daec218392bef5c8c5efecfc91806..a25f932d4ce683d2d7951360307155a1ceb6cad7 100644
(file)
--- a/
unittests/ADT/ArrayRefTest.cpp
+++ b/
unittests/ADT/ArrayRefTest.cpp
@@
-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