File tree Expand file tree Collapse file tree 3 files changed +25
-3
lines changed
regression/cbmc/Multiple_Properties1 Expand file tree Collapse file tree 3 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 1+ int main () {
2+ int x , y ;
3+ __CPROVER_assume (x >=100 && y <=1000 & x > y + 2 );
4+ x -- ;
5+ assert (x > y );
6+ x -- ;
7+ assert (x > y );
8+ x -- ;
9+ assert (x > y );
10+ y = 0 ;
11+ assert (x > y );
12+
13+ return 0 ;
14+ }
Original file line number Diff line number Diff line change 1+ CORE
2+ main.c
3+ --property main.assertion.1 --property main.assertion.3
4+ ^EXIT=10$
5+ ^SIGNAL=0$
6+ ^VERIFICATION FAILED
7+ ^.*main.assertion.1.*SUCCESS
8+ ^.*main.assertion.3.*FAILURE
9+ --
10+ ^warning: ignoring
Original file line number Diff line number Diff line change @@ -181,16 +181,14 @@ void cbmc_parse_optionst::get_command_line_options(optionst &options)
181181 options.set_option (" simplify" , true );
182182
183183 if (cmdline.isset (" stop-on-fail" ) ||
184- cmdline.isset (" property" ) ||
185184 cmdline.isset (" dimacs" ) ||
186185 cmdline.isset (" outfile" ))
187186 options.set_option (" stop-on-fail" , true );
188187 else
189188 options.set_option (" stop-on-fail" , false );
190189
191190 if (cmdline.isset (" trace" ) ||
192- cmdline.isset (" stop-on-fail" ) ||
193- cmdline.isset (" property" ))
191+ cmdline.isset (" stop-on-fail" ))
194192 options.set_option (" trace" , true );
195193
196194 if (cmdline.isset (" localize-faults" ))
You can’t perform that action at this time.
0 commit comments