// verifast_options{disable_overflow_check target:ILP32} extern void abort(void); //@ requires true; //@ ensures true; void reach_error() //@ requires false; //@ ensures true; {} void __VERIFIER_assert(int cond) //@ requires (0 < cond); //@ ensures (0 < cond); { if (!(cond)) { ERROR: {reach_error();abort();} } return; } int main(void) //@ requires module(underapprox_2_2__verifast_instrumented, true); //@ ensures junk(); { //@ open_module(); unsigned int x = 0; unsigned int y = 1; while (x < 6) //@ invariant ((x == 6) || (x < 6)); { x++; y *= 2; } __VERIFIER_assert(x == 6); return 0; }