Add regression test for issue #128.

This commit is contained in:
Brian Huffman 2014-10-23 14:20:04 -07:00
parent fde77d79f3
commit 234aa3230c
3 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,4 @@
copy : [inf] -> [inf]
copy ([b] # x) = if b then [True] # copy x else [False] # copy x
property ok = copy ([True] # zero) @ 0

View File

@ -0,0 +1,3 @@
:l issue128.cry
:check ok
:prove ok

View File

@ -0,0 +1,7 @@
Loading module Cryptol
Loading module Cryptol
Loading module Main
Using exhaustive testing.
passed 1 tests.
Q.E.D.
Q.E.D.