extern void abort(void); extern void __assert_fail(const char *, const char *, unsigned int, const char *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); void reach_error() { __assert_fail("0", "nec40.c", 3, "reach_error"); } void __VERIFIER_assert(int cond) { if (!(cond)) { ERROR: {reach_error();abort();} } return; } int __VERIFIER_nondet_int(); char x[100], y[100]; int i,j,k; int main() { k = __VERIFIER_nondet_int(); i = 0; while(x[i] != 0){ y[i] = x[i]; i++; } y[i] = 0; if(k >= 0 && k < i) if(y[k] != 0) {__VERIFIER_assert(0);} return 0; }