aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/ImmutableSetTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/ADT/ImmutableSetTest.cpp')
-rw-r--r--llvm/unittests/ADT/ImmutableSetTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/unittests/ADT/ImmutableSetTest.cpp b/llvm/unittests/ADT/ImmutableSetTest.cpp
index 2282cb8..74cd684 100644
--- a/llvm/unittests/ADT/ImmutableSetTest.cpp
+++ b/llvm/unittests/ADT/ImmutableSetTest.cpp
@@ -172,9 +172,11 @@ TEST_F(ImmutableSetTest, Callback2CharSetTest) {
ASSERT_EQ(obj.counter, 6);
+ ptr = buffer;
S2.foreach<MyIter>(obj);
ASSERT_EQ(obj.counter, 6+3);
+ ptr = buffer;
S.foreach<MyIter>(obj);
ASSERT_EQ(obj.counter, 6+3+0);
}