// S : tags error c sym $TAGS // S : expect --result error --location-comment ERROR // S : cc -o test.bc $CC_OPT $file // S : verify --symbolic --solver $solver $V_OPT test.bc extern int __VERIFIER_nondet_int(); extern void __VERIFIER_error(void); int id(int x) { if (x==0) return 0; return id(x-1) + 1; } int main(void) { int input = 20; int result = id(input); if (result == 20) { ERROR: __VERIFIER_error(); /* ERROR */ } }