/* TAGS: c todo */ /* VERIFY_OPTS: --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=0; y=4; while(1) { x = x + y; y = y +4; __VERIFIER_assert(x!=30); /* ERROR */ } return 0; }