Skip to content

Commit d54d63b

Browse files
author
Daniel Kroening
committed
doc: times should have a value
1 parent aaf2727 commit d54d63b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/cprover-manual/cbmc-tutorial.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ is an example of a program with a user-specified property:
218218

219219
```C
220220
_Bool nondet_bool();
221+
unsigned int nondet_unsigned_int();
221222
_Bool LOCK = 0;
222223

223224
_Bool lock()
@@ -241,7 +242,7 @@ void unlock()
241242
int main()
242243
{
243244
unsigned got_lock = 0;
244-
int times;
245+
unsigned times = nondet_unsigned_int();
245246

246247
while(times > 0)
247248
{

0 commit comments

Comments
 (0)