summaryrefslogtreecommitdiff
path: root/Test/dafny0/ModulesCycle.dfy
blob: 11a14cbf31b8e9259cc07ef617c4fc183deafee6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: %dafny /compile:0 /print:"%t.print" /dprint:"%t.dprint" "%s" > "%t"
// RUN: %diff "%s.expect" "%t"

module V {
  import t = T  // error: T is not visible (and isn't even a module)
}

module A {
  import B = C
}

module C {
  import D = A
}