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 1
1
void foo ()
2
2
{
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.
3
6
int nondet_var = nondet_int ();
4
7
int __VERIFIER_var = nondet_int ();
5
8
int __CPROVER_var = nondet_int ();
Original file line number Diff line number Diff line change 1
1
void foo ()
2
2
{
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.
3
6
int nondet_var = nondet_int ();
4
7
int __VERIFIER_var = nondet_int ();
5
8
int __CPROVER_var = nondet_int ();
You can’t perform that action at this time.
0 commit comments