Home | History | Annotate | Download | only in test

Lines Matching refs:gDestructorCounter

48 int gDestructorCounter;
51 void throw_destruct ( void *p ) { if ( ++gDestructorCounter == gDestructorThrowTarget ) throw 2; }
155 gConstructorCounter = gDestructorCounter = 0;
174 if ( gConstructorCounter - gDestructorCounter != 10 ) {
177 gDestructorCounter << " destructors" << std::endl;
181 gConstructorCounter = gDestructorCounter = 0;
196 if ( gConstructorCounter != gDestructorCounter ) {
199 gDestructorCounter << " destructors" << std::endl;
213 gConstructorCounter = gDestructorCounter = 0;
233 if ( gConstructorCounter != 20 || gDestructorCounter != 20 ) {
236 gDestructorCounter << ")" << std::endl;
241 gConstructorCounter = gDestructorCounter = 0;
247 if ( gConstructorCounter != gDestructorCounter ) {
250 gDestructorCounter << " destructors" << std::endl;