diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-06-25 01:01:27 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-06-25 01:01:27 +0000 |
commit | 16df16b7295819b788570998baa9ab30dabde0e5 (patch) | |
tree | 1bf8e2979d4ffc30145433e4f11eab96863de368 /test/Solver | |
parent | 69a7598ab92a5fcd3573487677d7681552c1ba4c (diff) | |
download | klee-16df16b7295819b788570998baa9ab30dabde0e5.tar.gz |
Kill off last getConstantValue uses.
- ConstantExpr should now fully support arbitrary width operations. - Still numerous holes in parsing, solver, etc. to plug. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@74151 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Solver')
-rw-r--r-- | test/Solver/LargeIntegers.pc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Solver/LargeIntegers.pc b/test/Solver/LargeIntegers.pc new file mode 100644 index 00000000..b47f8918 --- /dev/null +++ b/test/Solver/LargeIntegers.pc @@ -0,0 +1,11 @@ +# RUN: %kleaver %s > %t + +array a[64] : w32 -> w8 = symbolic + +# RUN: grep -A 1 \"Query 0\" %t > %t2 +# RUN: grep \"Expr 0:\t18446744073709551618\" %t2 +(query [] false [(Concat w128 (w64 1) (w64 2))]) + +# RUN: grep -A 1 \"Query 1\" %t > %t2 +# RUN: grep \"Expr 0:\t16\" %t2 +(query [] false [(Extract w5 60 (Concat w128 (w64 1) (w64 2)))]) |