From f9cb81fa27ca6ae4fef1c22081040071d20e4413 Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Mon, 30 Oct 2023 11:59:29 +0000 Subject: Assume C compiler's default standard is `-std=gnu17` Newer compilers use `-std=gnu17` as the default when compiling C code. Fix all the test cases that violate this behaviour or explicitly request older standards `-std=c89` where necessary. --- test/Feature/ReplayPath.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/Feature/ReplayPath.c') diff --git a/test/Feature/ReplayPath.c b/test/Feature/ReplayPath.c index f77656f8..e2eb95af 100644 --- a/test/Feature/ReplayPath.c +++ b/test/Feature/ReplayPath.c @@ -6,9 +6,9 @@ // RUN: rm -rf %t.klee-out-2 // RUN: %klee --output-dir=%t.klee-out-2 --replay-path %t.klee-out/test000001.path %t2.bc > %t3.log // RUN: diff %t3.log %t3.good - -#include +#include "klee/klee.h" #include +#include void cond_exit() { #ifdef COND_EXIT -- cgit 1.4.1