We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bca129 commit 46f6231Copy full SHA for 46f6231
regression/goto-cc-cbmc/regenerate-entry-function/main.c
@@ -1,23 +1,11 @@
1
+#include <assert.h>
2
+
3
int fun(int x)
4
{
- if(x > 0)
- {
5
- return x * x;
6
- }
7
- else
8
9
- return x;
10
+ assert(0);
11
}
12
13
int main(int argc, char** argv)
14
15
- if(argc>4)
16
17
- return 0;
18
19
20
21
- return 1;
22
+ return 0;
23
regression/goto-cc-cbmc/regenerate-entry-function/test.desc
@@ -1,8 +1,8 @@
CORE
main.c
-'--function fun --cover branch'
-^EXIT=0$
+'--function fun'
+^EXIT=10$
^SIGNAL=0$
-^x=
+^VERIFICATION FAILED$
--
^warning: ignoring
0 commit comments