about summary refs log tree commit diff homepage
path: root/test
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-06-26 06:17:51 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-26 06:17:51 +0000
commit8e62069f6298f517f97a333bdc3a7b1c50adad64 (patch)
tree01d56b6c853307ed749c5a25a2c811abefd6d568 /test
parent553e2871ba937a91da303190631daf627f83eabb (diff)
downloadklee-8e62069f6298f517f97a333bdc3a7b1c50adad64.tar.gz
More large integer support.
 - Allow constructing a ConstantExpr from an APInt, too painful otherwise.

 - Parser support for large integers.


git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@74278 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Solver/LargeIntegers.pc6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Solver/LargeIntegers.pc b/test/Solver/LargeIntegers.pc
index b47f8918..99d1a61b 100644
--- a/test/Solver/LargeIntegers.pc
+++ b/test/Solver/LargeIntegers.pc
@@ -9,3 +9,9 @@ array a[64] : w32 -> w8 = symbolic
 # 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)))])
+
+# RUN: grep -A 1 \"Query 2\" %t > %t2
+# RUN: grep \"Array 0:\ta.16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0\" %t2
+(query [(Eq 0x0102030405060708090A0B0C0D0E0F10 (ReadLSB w128 0 a))] 
+       false 
+       [] [a])