Searched refs:test_struct_with_dtor (Results 1 – 2 of 2) sorted by relevance
168 class GTY(()) test_struct_with_dtor class173 ~test_struct_with_dtor () { dtor_call_count++; } in ~test_struct_with_dtor()178 int test_struct_with_dtor::dtor_call_count;185 ASSERT_TRUE (need_finalization_p <test_struct_with_dtor> ()); in test_finalization()191 ggc_cleared_alloc <test_struct_with_dtor> (); in test_finalization()193 test_struct_with_dtor::dtor_call_count = 0; in test_finalization()198 ASSERT_EQ (count, test_struct_with_dtor::dtor_call_count); in test_finalization()
179 class GTY(()) test_struct_with_dtor in class()184 ~test_struct_with_dtor () { dtor_call_count++; } in class()189 int test_struct_with_dtor::dtor_call_count;196 ASSERT_TRUE (need_finalization_p <test_struct_with_dtor> ()); in test_finalization()202 ggc_cleared_alloc <test_struct_with_dtor> (); in test_finalization()204 test_struct_with_dtor::dtor_call_count = 0; in test_finalization()209 ASSERT_EQ (count, test_struct_with_dtor::dtor_call_count); in test_finalization()