extern unsigned int __VERIFIER_nondet_uint(); extern void __VERIFIER_error(); unsigned int id(unsigned int x); unsigned int id2(unsigned int x); unsigned int id(unsigned int x) { if (x==0) return 0; unsigned int ret = id2(x-1) + 1; if (ret > 5) return 5; return ret; } unsigned int id2(unsigned int x) { if (x==0) return 0; unsigned int ret = id(x-1) + 1; if (ret > 5) return 5; return ret; } int main(void) { unsigned int input = __VERIFIER_nondet_uint(); unsigned int result = id(input); if (result == 10) { ERROR: __VERIFIER_error(); } }