extern int __VERIFIER_nondet_int(); 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", "id_b3_o2-1.c", 4, "reach_error"); } int id(int x) { if (x==0) return 0; int ret = id(x-1) + 1; if (ret > 3) return 3; return ret; } int main(void) { int input = __VERIFIER_nondet_int(); int result = id(input); if (result == 2) { ERROR: {reach_error();abort();} } }