// S : tags c sym $TAGS // S : expect --result valid // 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 = 10; int b = 0; int result = sum(a, b); if (result != a + b) { ERROR: __VERIFIER_error(); } }