diff options
Diffstat (limited to 'test/Expr/Parser/Simplify.pc')
-rw-r--r-- | test/Expr/Parser/Simplify.pc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Expr/Parser/Simplify.pc b/test/Expr/Parser/Simplify.pc index e89d79ff..1a853b16 100644 --- a/test/Expr/Parser/Simplify.pc +++ b/test/Expr/Parser/Simplify.pc @@ -33,3 +33,8 @@ array a[64] : w32 -> w8 = symbolic # RUN: grep \"(Not (Eq 1 (Read w8 1 a))))\" %t2 (query [] false [(Not (Or (Eq 0 (Read w8 0 a)) (Eq 1 (Read w8 1 a))))]) + +# Check -- false == X ==> !X +# RUN: grep -A 2 \"# Query 7\" %t > %t2 +# RUN: grep \"(query .. false .(Not (Extract 1 (Read w8 0 a))).)\" %t2 +(query [] false [(Eq (Extract w1 1 (Read w8 0 a)) false)]) |