diff options
author | Cristian Cadar <c.cadar@imperial.ac.uk> | 2020-11-28 20:56:14 +0000 |
---|---|---|
committer | MartinNowack <2443641+MartinNowack@users.noreply.github.com> | 2020-12-04 15:57:01 +0000 |
commit | 9be3e76ed1f9eb0ec86531e2437091f7f1f02c88 (patch) | |
tree | 3589e114ad33c053a38c94f69dfd415efaeb30f7 /test/VectorInstructions/insert_element.c | |
parent | 549206763cab1154fe05fc7a9a5f0e089405dcbd (diff) | |
download | klee-9be3e76ed1f9eb0ec86531e2437091f7f1f02c88.tar.gz |
Move all overflows from the vector instructions tests into a new file, as the overflow behaviour is different in LLVM 11.
Diffstat (limited to 'test/VectorInstructions/insert_element.c')
-rw-r--r-- | test/VectorInstructions/insert_element.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/VectorInstructions/insert_element.c b/test/VectorInstructions/insert_element.c index edfc9cb4..df09819d 100644 --- a/test/VectorInstructions/insert_element.c +++ b/test/VectorInstructions/insert_element.c @@ -22,6 +22,7 @@ int main() { klee_print_expr("f after write to [2]", f); f[3] = 19; klee_print_expr("f after write to [3]", f); + // CHECK-STDOUT: f[0]=255 printf("f[0]=%u\n", f[0]); // CHECK-STDOUT: f[1]=128 @@ -39,7 +40,5 @@ int main() { // CHECK-STDERR-NOT: insert_element.c:[[@LINE+1]]: ASSERTION FAIL assert(f[3] == 19); - // CHECK-STDERR: insert_element.c:[[@LINE+1]]: Out of bounds write when inserting element - f[4] = 255; // Out of bounds write return 0; } |