File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
regression/contracts-dfcc
dont_skip_cprover_prefixed_vars_fail
dont_skip_cprover_prefixed_vars_pass Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 11void foo ()
22{
3+ // Initialize them with `nondet_int` to avoid them being ignored by DFCC.
4+ // DFCC ignores variables that are not read/written to outside the loop
5+ // or in the loop contracts.
36 int nondet_var = nondet_int ();
47 int __VERIFIER_var = nondet_int ();
58 int __CPROVER_var = nondet_int ();
Original file line number Diff line number Diff line change 11void foo ()
22{
3+ // Initialize them with `nondet_int` to avoid them being ignored by DFCC.
4+ // DFCC ignores variables that are not read/written to outside the loop
5+ // or in the loop contracts.
36 int nondet_var = nondet_int ();
47 int __VERIFIER_var = nondet_int ();
58 int __CPROVER_var = nondet_int ();
You can’t perform that action at this time.
0 commit comments