Skip to content

Commit

Permalink
sl/tests: make the code compile with gcc-14
Browse files Browse the repository at this point in the history
Related: #92
Related: #93
  • Loading branch information
kdudka committed Mar 1, 2024
1 parent f916137 commit 1175022
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/predator-regre/test-0170.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void DLDisposeList (struct TList *L) {
L->Act = ((void *)0);
L->Last = ((void *)0);
}

void DLError(void);
void DLInsertFirst (struct TList *L) {
struct TNode * ptr = malloc(sizeof *ptr);
if (((void *)0)==ptr) {
Expand Down
2 changes: 1 addition & 1 deletion tests/predator-regre/test-0183.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stdlib.h>

extern int __VERIFIER_nondet_int(void);
#include <verifier-builtins.h>

static void fail(void) {
ERROR:
Expand Down
2 changes: 1 addition & 1 deletion tests/predator-regre/test-0184.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stdlib.h>

extern int __VERIFIER_nondet_int(void);
#include <verifier-builtins.h>

static void fail(void) {
ERROR:
Expand Down
2 changes: 1 addition & 1 deletion tests/predator-regre/test-0240.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stdlib.h>

extern int __VERIFIER_nondet_int(void);
#include <verifier-builtins.h>

struct node {
struct node *next;
Expand Down

0 comments on commit 1175022

Please sign in to comment.