// verifast_options{disable_overflow_check target:ILP32} // This file is part of the SV-Benchmarks collection of verification tasks: // https://github.com/sosy-lab/sv-benchmarks // // This file was part of CPAchecker, // a tool for configurable software verification: // https://cpachecker.sosy-lab.org // // SPDX-FileCopyrightText: 2007-2020 Dirk Beyer // // SPDX-License-Identifier: Apache-2.0 void reach_error() //@ requires false; //@ ensures true; {} int main() //@ requires module(nested_3__verifast_instrumented, true); //@ ensures junk(); { //@ open_module(); int a = 6; int b = 6; int c = 6; for(a = 0; a < 6; ++a) //@ invariant (((b == 6) && (c == 6)) && (a <= 6)); { for(b = 0; b < 6; ++b) //@ invariant (((c == 6) && (b <= 6)) && (a <= 5)); { for(c = 0; c < 6; ++c) //@ invariant (((((((((b <= 5) && (a <= 5)) && (c == 1)) || (((b <= 5) && (5 == c)) && (a <= 5))) || (((c == 6) && (b <= 5)) && (a <= 5))) || (((b <= 5) && (a <= 5)) && (c == 3))) || (((b <= 5) && (c == 0)) && (a <= 5))) || (((b <= 5) && (c == 2)) && (a <= 5))) || (((b <= 5) && (c == 4)) && (a <= 5))); { } } } if(!(a == 6 && b == 6 && c == 6 )) { reach_error(); } return 1; }