Skip to content

Commit

Permalink
missing include
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Kroening committed Sep 16, 2017
1 parent ac022e2 commit 1ff6bf2
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion regression/cbmc-cover/built-ins1/main.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#include <string.h>

int main()
{
char a[10];
__CPROVER_input("a[3]", a[3]);

int len = strlen(a);
int len=strlen(a);

if(len==3)
{
Expand All @@ -13,5 +15,6 @@ int main()
{
return -1;
}

return 1;
}
2 changes: 2 additions & 0 deletions regression/cbmc-cover/built-ins4/main.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#include <string.h>

int main()
{
char a[10];
Expand Down
2 changes: 2 additions & 0 deletions regression/cbmc-cover/built-ins5/main.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#include <string.h>

int main()
{
char a[10];
Expand Down
2 changes: 2 additions & 0 deletions regression/cbmc-cover/built-ins6/main.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#include <string.h>

int main()
{
char a[10];
Expand Down
2 changes: 2 additions & 0 deletions regression/cbmc-cover/built-ins7/main.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#include <string.h>

int main()
{
char a[10];
Expand Down

0 comments on commit 1ff6bf2

Please sign in to comment.