about summary refs log tree commit diff homepage
path: root/test/Solver
diff options
context:
space:
mode:
Diffstat (limited to 'test/Solver')
-rw-r--r--test/Solver/LargeIntegers.pc11
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)))])