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/regression/2007-07-25-invalid-stp-array-binding-to-objectstate.c | 1 + 1 file changed, 1 insertion(+) (limited to 'test/regression/2007-07-25-invalid-stp-array-binding-to-objectstate.c') diff --git a/test/regression/2007-07-25-invalid-stp-array-binding-to-objectstate.c b/test/regression/2007-07-25-invalid-stp-array-binding-to-objectstate.c index 1897266a..ac32063c 100644 --- a/test/regression/2007-07-25-invalid-stp-array-binding-to-objectstate.c +++ b/test/regression/2007-07-25-invalid-stp-array-binding-to-objectstate.c @@ -2,6 +2,7 @@ // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out %t1.bc +#include "klee/klee.h" #include int main(void) { -- cgit 1.4.1