diff options
author | Andrea Mattavelli <andreamattavelli@users.noreply.github.com> | 2016-09-16 10:04:27 +0100 |
---|---|---|
committer | Dan Liew <delcypher@gmail.com> | 2016-09-16 10:04:27 +0100 |
commit | 1bfdbc61f2e14d8b0f2b5ca45ca8266c363cbfc5 (patch) | |
tree | a98b88133d260c70c336f51ff09e727c79ca69dc /test | |
parent | 9baab03a58ffb8c74a2c3db40256521050f68049 (diff) | |
download | klee-1bfdbc61f2e14d8b0f2b5ca45ca8266c363cbfc5.tar.gz |
Avoid internalization of non-standard entry point (i.e. not the main function) (#455)
Diffstat (limited to 'test')
-rw-r--r-- | test/regression/2016-08-11-entry-point-internalize-pass.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/regression/2016-08-11-entry-point-internalize-pass.c b/test/regression/2016-08-11-entry-point-internalize-pass.c new file mode 100644 index 00000000..4cd8ff8d --- /dev/null +++ b/test/regression/2016-08-11-entry-point-internalize-pass.c @@ -0,0 +1,7 @@ +// RUN: %llvmgcc %s -emit-llvm -g -O0 -c -o %t.bc +// RUN: rm -rf %t.klee-out +// RUN: %klee --output-dir=%t.klee-out --entry-point=entry %t.bc + +int entry() { + return 0; +} |