#include "bench.h" struct C { volatile int restart; // ensure compiler does not optimize away all the code }; void ?{}( C & c ) { c.restart = 0; } void main( C & ) {} int main( int argc, char * argv[] ) { BENCH_START() BENCH( for ( times ) { C c; }, result ) printf( "%g\n", result ); } // Local Variables: // // tab-width: 4 // // End: //