about summary refs log tree commit diff homepage
path: root/test/Expr/Parser/ConstantFolding.pc
diff options
context:
space:
mode:
Diffstat (limited to 'test/Expr/Parser/ConstantFolding.pc')
-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))))