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/Runtime/POSIX/FreeArgv.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/Runtime/POSIX/FreeArgv.c')
-rw-r--r-- | test/Runtime/POSIX/FreeArgv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Runtime/POSIX/FreeArgv.c b/test/Runtime/POSIX/FreeArgv.c index 93ed697e..cdc5487f 100644 --- a/test/Runtime/POSIX/FreeArgv.c +++ b/test/Runtime/POSIX/FreeArgv.c @@ -4,7 +4,8 @@ // RUN: test -f %t.klee-out/test000001.free.err // RUN: test -f %t.klee-out/test000002.free.err // RUN: test -f %t.klee-out/test000003.free.err - +#include "klee/klee.h" +#include <stdlib.h> int main(int argc, char **argv) { switch (klee_range(0, 3, "range")) { case 0: |