📄 tests/demo_test_files/simple_3-1.c
1extern void abort(void);2extern void __assert_fail(const char *, const char *, unsigned int, const char *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));3void reach_error() { __assert_fail("0", "simple_3-1.c", 3, "reach_error"); }4extern unsigned short __VERIFIER_nondet_ushort(void);56void __VERIFIER_assert(int cond) {7 if (!(cond)) {◐PART8 ERROR: {reach_error();abort();}9 }10 return;11}1213int main(void) {14 unsigned int x = 0;15 unsigned short N = __VERIFIER_nondet_ushort();1617 while (x < N) {●FULL18 x += 2;19 }2021 __VERIFIER_assert(x % 2);22}