Showing error 1481

User: Jiri Slaby
Error type: Reachable Error Location
Error type description: A specified error location is reachable in some program path
File location: loops/for_infinite_loop_1_safe.i
Line in file: 4
Project: SV-COMP 2013
Project version: 2.6.28
Tools: Manual Work
Entered: 2013-01-17 16:57:54 UTC


Source:

 1extern void __VERIFIER_assume(int);
 2void __VERIFIER_assert(int cond) {
 3  if (!(cond)) {
 4    ERROR: goto ERROR;
 5  }
 6  return;
 7}
 8
 9int __VERIFIER_nondet_int();
10
11int main() {
12  int i=0, x=0, y=0;
13  int n=__VERIFIER_nondet_int();
14  __VERIFIER_assume(n>0);
Show full sources