summaryrefslogtreecommitdiff
path: root/Test/hofs/LambdaParsefail2.dfy
blob: ead3b9ecde01e1a5546fee837d96bc7dbf4e9bbe (plain)
1
2
3
4
5
6
7
8
// RUN: %dafny /print:"%t.print" "%s" > "%t"
// RUN: %diff "%s.expect" "%t"


method Fail2() {
    var g4 := (x, y : A) => (y, x : B); // RHS should fail!
}