Skip to content

Commit 46f6231

Browse files
author
Daniel Kroening
committed
cbmc test no longer uses --cover
1 parent 1bca129 commit 46f6231

File tree

2 files changed

+7
-19
lines changed

2 files changed

+7
-19
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,11 @@
1+
#include <assert.h>
2+
13
int fun(int x)
24
{
3-
if(x > 0)
4-
{
5-
return x * x;
6-
}
7-
else
8-
{
9-
return x;
10-
}
5+
assert(0);
116
}
127

138
int main(int argc, char** argv)
149
{
15-
if(argc>4)
16-
{
17-
return 0;
18-
}
19-
else
20-
{
21-
return 1;
22-
}
10+
return 0;
2311
}
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
CORE
22
main.c
3-
'--function fun --cover branch'
4-
^EXIT=0$
3+
'--function fun'
4+
^EXIT=10$
55
^SIGNAL=0$
6-
^x=
6+
^VERIFICATION FAILED$
77
--
88
^warning: ignoring

0 commit comments

Comments
 (0)