blob: 1c0f0109e26dea4e476ff6f0cfac8aece5fa0744 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// RUN: %dafny /compile:0 /autoTriggers:1 "%s" > "%t"
// RUN: %diff "%s.expect" "%t"
function f1(d:int):map<int,int>
function f2(y:int, d:int):int
method M(m:map<int,int>, d:int, x2:int)
{
assert forall d :: f1(d) == (map x | x in m :: f2(x, d));
}
|