about summary refs log tree commit diff homepage
path: root/test/VectorInstructions/insert_element.c
diff options
context:
space:
mode:
authorMartin Nowack <m.nowack@imperial.ac.uk>2023-10-30 11:59:29 +0000
committerCristian Cadar <c.cadar@imperial.ac.uk>2024-02-08 13:17:19 +0000
commitf9cb81fa27ca6ae4fef1c22081040071d20e4413 (patch)
treecae0000d0087ad36d51e554c20d684433089c8e9 /test/VectorInstructions/insert_element.c
parent5371eb8474cc4dced751d0515c1ea9499d009668 (diff)
downloadklee-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/VectorInstructions/insert_element.c')
-rw-r--r--test/VectorInstructions/insert_element.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/VectorInstructions/insert_element.c b/test/VectorInstructions/insert_element.c
index df09819d..35054fd9 100644
--- a/test/VectorInstructions/insert_element.c
+++ b/test/VectorInstructions/insert_element.c
@@ -5,9 +5,10 @@
 // RUN: %klee --output-dir=%t.klee-out --optimize=false  %t1.bc > %t.stdout.log 2> %t.stderr.log
 // RUN: FileCheck -check-prefix=CHECK-STDOUT -input-file=%t.stdout.log %s
 // RUN: FileCheck -check-prefix=CHECK-STDERR -input-file=%t.stderr.log %s
+#include "klee/klee.h"
 #include <assert.h>
-#include <stdio.h>
 #include <stdint.h>
+#include <stdio.h>
 
 typedef uint32_t v4ui __attribute__ ((vector_size (16)));
 int main() {