Lines Matching refs:gConstructorCounter
46 int gConstructorCounter; variable
50 … throw_construct ( void *p ) { if ( gConstructorCounter == gConstructorThrowTarget ) throw 1; ++… in throw_construct()
155 gConstructorCounter = gDestructorCounter = 0; in test_exception_in_constructor()
174 if ( gConstructorCounter - gDestructorCounter != 10 ) { in test_exception_in_constructor()
176 std::cerr << gConstructorCounter << " constructors, but " << in test_exception_in_constructor()
181 gConstructorCounter = gDestructorCounter = 0; in test_exception_in_constructor()
196 if ( gConstructorCounter != gDestructorCounter ) { in test_exception_in_constructor()
198 std::cerr << gConstructorCounter << " constructors, but " << in test_exception_in_constructor()
213 gConstructorCounter = gDestructorCounter = 0; in test_exception_in_destructor()
233 if ( gConstructorCounter != 20 || gDestructorCounter != 20 ) { in test_exception_in_destructor()
235 std::cerr << "Expected (20, 20), but got (" << gConstructorCounter << ", " << in test_exception_in_destructor()
241 gConstructorCounter = gDestructorCounter = 0; in test_exception_in_destructor()
247 if ( gConstructorCounter != gDestructorCounter ) { in test_exception_in_destructor()
249 std::cerr << gConstructorCounter << " constructors, but " << in test_exception_in_destructor()