mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-18 05:21:57 +03:00
Add test case for issue #334. This issue is fixed by the evaluator rewrite.
Fixes #334
This commit is contained in:
parent
93a1628d53
commit
869670b2af
3
tests/issues/issue334.icry
Normal file
3
tests/issues/issue334.icry
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
let foo (x:[8]) = xs where xs = [x, xs@0]
|
||||||
|
:prove foo 3 == [3,3]
|
||||||
|
:prove \x -> foo x == [x,x]
|
3
tests/issues/issue334.icry.stdout
Normal file
3
tests/issues/issue334.icry.stdout
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Loading module Cryptol
|
||||||
|
Q.E.D.
|
||||||
|
Q.E.D.
|
Loading…
Reference in New Issue
Block a user