Skip to content

Commit

Permalink
Add clarification to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
qinheping committed Nov 3, 2024
1 parent cfd9395 commit c924ee6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
void foo()
{
// Initialize them with `nondet_int` to avoid them being ignored by DFCC.
// DFCC ignores variables that are not read/written to outside the loop
// or in the loop contracts.
int nondet_var = nondet_int();
int __VERIFIER_var = nondet_int();
int __CPROVER_var = nondet_int();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
void foo()
{
// Initialize them with `nondet_int` to avoid them being ignored by DFCC.
// DFCC ignores variables that are not read/written to outside the loop
// or in the loop contracts.
int nondet_var = nondet_int();
int __VERIFIER_var = nondet_int();
int __CPROVER_var = nondet_int();
Expand Down

0 comments on commit c924ee6

Please sign in to comment.