Searched refs:lst2 (Results 1 – 2 of 2) sorted by relevance
425 list<int> lst2; in swap() local428 lst2.push_back(2); in swap()430 lst1.swap( lst2 ); in swap()433 CPPUNIT_CHECK( lst2.front() == 1 ); in swap()435 CPPUNIT_CHECK( lst2.size() == 1 ); in swap()438 lst2.pop_front(); in swap()441 CPPUNIT_CHECK( lst2.empty() ); in swap()