Skip to content

Commit aaf2727

Browse files
author
Daniel Kroening
committed
doc: functions sum should return a value
1 parent 225e18d commit aaf2727

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/cprover-manual/cbmc-tutorial.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ int sum() {
145145
sum=0;
146146
for(i=0; i<10; i++)
147147
sum+=array[i];
148+
149+
return sum;
148150
}
149151
```
150152

0 commit comments

Comments
 (0)