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/2017-02-21-pathOS-id.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/regression/2017-02-21-pathOS-id.c') diff --git a/test/regression/2017-02-21-pathOS-id.c b/test/regression/2017-02-21-pathOS-id.c index b6ee269a..112875de 100644 --- a/test/regression/2017-02-21-pathOS-id.c +++ b/test/regression/2017-02-21-pathOS-id.c @@ -5,6 +5,9 @@ // RUN: cat %t.klee-out/test000002.path | wc -l | grep -q 1 // RUN: cat %t.klee-out/test000003.path | wc -l | grep -q 1 // RUN: cat %t.klee-out/test000004.path | wc -l | grep -q 1 + +#include "klee/klee.h" +#include "stdlib.h" int main(){ int a, b; klee_make_symbolic (&a, sizeof(int), "a"); -- cgit 1.4.1