Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 4 additions & 16 deletions regression/goto-cc-cbmc/regenerate-entry-function/main.c
Original file line number Diff line number Diff line change
@@ -1,23 +1,11 @@
#include <assert.h>

int fun(int x)
{
if(x > 0)
{
return x * x;
}
else
{
return x;
}
assert(0);
}

int main(int argc, char** argv)
{
if(argc>4)
{
return 0;
}
else
{
return 1;
}
return 0;
}
6 changes: 3 additions & 3 deletions regression/goto-cc-cbmc/regenerate-entry-function/test.desc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CORE
main.c
'--function fun --cover branch'
^EXIT=0$
'--function fun'
^EXIT=10$
^SIGNAL=0$
^x=
^VERIFICATION FAILED$
--
^warning: ignoring