diff options
author | Frank Busse <bb0xfb@gmail.com> | 2018-04-05 19:52:52 +0100 |
---|---|---|
committer | MartinNowack <martin.nowack@gmail.com> | 2018-06-13 13:59:54 +0100 |
commit | 2675168486c738d9ec60c728d6a14789cddd0d17 (patch) | |
tree | ed169b85db00537b59faf09932fba44566cfb78a /test | |
parent | c75e42a6bdf38e8dff13fd34f6cf160b437f2c84 (diff) | |
download | klee-2675168486c738d9ec60c728d6a14789cddd0d17.tar.gz |
klee_int: allow NULL as name
Diffstat (limited to 'test')
-rw-r--r-- | test/regression/2018-04-05-make-symbolic-null-name.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/regression/2018-04-05-make-symbolic-null-name.c b/test/regression/2018-04-05-make-symbolic-null-name.c new file mode 100644 index 00000000..f352ab21 --- /dev/null +++ b/test/regression/2018-04-05-make-symbolic-null-name.c @@ -0,0 +1,9 @@ +// RUN: %llvmgcc %s -emit-llvm -g -c -o %t1.bc +// RUN: rm -rf %t.klee-out +// RUN: %klee --output-dir=%t.klee-out %t1.bc + +#include "klee/klee.h" + +int main(int argc, char * argv[]) { + int a = klee_int((void*)0); +} |