Debian Codegraph @

test-suite/output/ProofUsingClashWarning.v

raw
1 Section Test.
2 Variables (bool_var : bool) (clashing_name : nat) (All : unit).
3 Collection clashing_name := bool_var.
4
5 Collection redefined_col := bool_var.
6 Collection redefined_col := bool_var.
7
8 Fail Collection All := bool_var.
9
10 Lemma foo : True.
11 Proof using clashing_name.
12 trivial.
13 Qed.
14
15 Lemma bar : True.
16 Proof using All.
17 trivial.
18 Qed.
19
20 End Test.
21
22 Check foo : bool -> True.
23 Check bar : bool -> nat -> unit -> True.