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/GetValue.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/GetValue.c')
-rw-r--r-- | test/Feature/GetValue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Feature/GetValue.c b/test/Feature/GetValue.c index d2b046f4..c652658f 100644 --- a/test/Feature/GetValue.c +++ b/test/Feature/GetValue.c @@ -1,9 +1,9 @@ // RUN: %clang -emit-llvm -c -o %t1.bc %s // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --exit-on-error %t1.bc - -#include <stdio.h> +#include "klee/klee.h" #include <assert.h> +#include <stdio.h> int main() { int x = klee_int("x"); |