Searched refs:lst1 (Results 1 – 2 of 2) sorted by relevance
424 list<int> lst1; in swap() local427 lst1.push_back(1); in swap()430 lst1.swap( lst2 ); in swap()432 CPPUNIT_CHECK( lst1.front() == 2 ); in swap()434 CPPUNIT_CHECK( lst1.size() == 1 ); in swap()437 lst1.pop_front(); in swap()440 CPPUNIT_CHECK( lst1.empty() ); in swap()