summaryrefslogtreecommitdiff
path: root/Test/dafny4/Regression1.dfy
blob: ebd8cf6d50d4450ae1d294efbbdc489e739df561 (plain)
1
2
3
4
5
6
7
8
9
// RUN: %dafny /compile:0 "%s" > "%t"
// RUN: %diff "%s.expect" "%t"

ghost method M() {
  var x :=
// In the following line, why are the range and term copied in Substitute?
//    var loo := 100; map y | 0 <= y < 100 :: y+1;
    var loo := 100; imap y: int | true :: 3;
}