about summary refs log tree commit diff homepage
path: root/test
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-06-14 21:53:32 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-14 21:53:32 +0000
commit035aa2ced15f48b5565f1dd7381832721246efe1 (patch)
tree15e493b459c4da9fbeb527bb893959f06d80c0f2 /test
parent25b0ab1a3513b5952c0a2e2c59cec72cdf471224 (diff)
downloadklee-035aa2ced15f48b5565f1dd7381832721246efe1.tar.gz
Start test case for ConstantFoldingExprBuilder
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@73351 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Expr/Parser/ConstantFolding.pc5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Expr/Parser/ConstantFolding.pc b/test/Expr/Parser/ConstantFolding.pc
new file mode 100644
index 00000000..6c345b47
--- /dev/null
+++ b/test/Expr/Parser/ConstantFolding.pc
@@ -0,0 +1,5 @@
+# RUN: %kleaver --builder=constant-folding -print-ast %s > %t
+
+# RUN: grep -A 2 \"# Query 1\" %t > %t2
+# RUN: grep \"(query .. false)\" %t2
+(query [] (Not (Ult (w32 0) (w32 1))))