From e3bca69757a80b46d743195944fed6481dec7e4f Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Thu, 4 Jun 2009 06:51:12 +0000 Subject: Fixed a bug in Kleaver's parser: APInt does not allow "truncation" to the same width. Added a test case that was previously triggering an assert violation. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@72850 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Expr/Parser/Concat64.pc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/Expr/Parser/Concat64.pc (limited to 'test') diff --git a/test/Expr/Parser/Concat64.pc b/test/Expr/Parser/Concat64.pc new file mode 100644 index 00000000..e57e9760 --- /dev/null +++ b/test/Expr/Parser/Concat64.pc @@ -0,0 +1,11 @@ +# RUN: kleaver --print-ast %s + +(query [(Eq 0 + (Concat w64 (Read w8 7 arr1) + (Concat w56 (Read w8 6 arr1) + (Concat w48 (Read w8 5 arr1) + (Concat w40 (Read w8 4 arr1) + (Concat w32 (Read w8 3 arr1) + (Concat w24 (Read w8 2 arr1) + (Concat w16 (Read w8 1 arr1) (Read w8 0 arr1)))))))))] + false) -- cgit 1.4.1