// 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 void __VERIFIER_error(void); int sum(int n, int m) { if (n <= 0) { return m + n; } else { return sum(n - 1, m + 1); } } int main(void) { int a = 15; int b = 0; int result = sum(a, b); if (result == a + b) { ERROR: __VERIFIER_error(); /* ERROR */ } }