Reset another globalMemCounter.
authorDan Albert <danalbert@google.com>
Thu, 30 Apr 2020 00:11:01 +0000 (17:11 -0700)
committerDan Albert <danalbert@google.com>
Thu, 30 Apr 2020 00:15:04 +0000 (17:15 -0700)
libcxx/test/std/utilities/any/any.class/any.assign/copy.pass.cpp

index d56346e..60c0272 100644 (file)
@@ -186,6 +186,7 @@ void test_copy_assign_throws()
 }
 
 int main(int, char**) {
+    globalMemCounter.reset();
     test_copy_assign<small1, small2>();
     test_copy_assign<large1, large2>();
     test_copy_assign<small, large>();