diff options
Diffstat (limited to 'unittests/ADT/ImmutableSetTest.cpp')
-rw-r--r-- | unittests/ADT/ImmutableSetTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/ADT/ImmutableSetTest.cpp b/unittests/ADT/ImmutableSetTest.cpp index 2282cb8f36..74cd684e5a 100644 --- a/unittests/ADT/ImmutableSetTest.cpp +++ b/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); } |