/* TAGS: c sym todo */ /* VERIFY_OPTS: --symbolic --sequential -o nofail:malloc */ extern void __VERIFIER_error() __attribute__ ((__noreturn__)); extern int __VERIFIER_nondet_int(void); void __VERIFIER_assert(int cond) { if (!(cond)) { ERROR: __VERIFIER_error(); } return; } int main() { int x,y; x = 1; y = 1; while(1) { x = x +2*__VERIFIER_nondet_int(); y = y +2*__VERIFIER_nondet_int(); __VERIFIER_assert(x+y!=1); /* ERROR */ } return 0; }