// verifast_options{disable_overflow_check target:ILP32} extern void abort(void);//@ requires true; //@ ensures true; extern void __assert_fail(const char *, const char *, unsigned int, const char *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); void reach_error() //@ requires false; //@ ensures true; { __assert_fail("0", "const_1-1.c", 3, "reach_error"); } void __VERIFIER_assert(int cond) //@ requires (1 <= cond); //@ ensures (1 <= cond); { if (!(cond)) { ERROR: {reach_error();abort();} } return; } int main(void) //@ requires module(const_1_1__verifast_instrumented_modified, true); //@ ensures junk(); { unsigned int x = 1; unsigned int y = 0; while (y < 1024)//@ invariant ((y == 0) || (x == 0)); { x = 0; y++; } __VERIFIER_assert(x == 0); }