Searched refs:test_alloc (Results 1 – 1 of 1) sorted by relevance
44 class test_alloc { class55 test_alloc(int value_) : value(value_) in test_alloc() function in __anondc1822e00111::test_alloc87 size_t test_alloc::instances = 0;183 ATF_REQUIRE_EQ(0, test_alloc::instances); in ATF_TEST_CASE_BODY()185 optional< test_alloc > optional1(test_alloc(3)); in ATF_TEST_CASE_BODY()186 ATF_REQUIRE_EQ(1, test_alloc::instances); in ATF_TEST_CASE_BODY()190 optional< test_alloc > optional2(optional1); in ATF_TEST_CASE_BODY()191 ATF_REQUIRE_EQ(2, test_alloc::instances); in ATF_TEST_CASE_BODY()195 ATF_REQUIRE_EQ(2, test_alloc::instances); in ATF_TEST_CASE_BODY()199 ATF_REQUIRE_EQ(1, test_alloc::instances); in ATF_TEST_CASE_BODY()[all …]