diff options
author | Martin Nowack <m.nowack@imperial.ac.uk> | 2023-10-30 11:59:29 +0000 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2024-02-08 13:17:19 +0000 |
commit | f9cb81fa27ca6ae4fef1c22081040071d20e4413 (patch) | |
tree | cae0000d0087ad36d51e554c20d684433089c8e9 /test/Feature/CompressedExprLogging.c | |
parent | 5371eb8474cc4dced751d0515c1ea9499d009668 (diff) | |
download | klee-f9cb81fa27ca6ae4fef1c22081040071d20e4413.tar.gz |
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.
Diffstat (limited to 'test/Feature/CompressedExprLogging.c')
-rw-r--r-- | test/Feature/CompressedExprLogging.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Feature/CompressedExprLogging.c b/test/Feature/CompressedExprLogging.c index 42c42402..1344988b 100644 --- a/test/Feature/CompressedExprLogging.c +++ b/test/Feature/CompressedExprLogging.c @@ -10,7 +10,7 @@ // RUN: %klee --output-dir=%t.klee-out2 --use-cex-cache=false --compress-query-log --use-query-log=all:kquery %t1.bc // RUN: gunzip -d %t.klee-out2/all-queries.kquery.gz // RUN: diff %t.klee-out/all-queries.kquery %t.klee-out/all-queries.kquery - +#include "klee/klee.h" #include <assert.h> int constantArr[16] = {1 << 0, 1 << 1, 1 << 2, 1 << 3, 1 << 4, 1 << 5, |