Debian Codegraph @

test-suite/bugs/bug_5300.v

raw
1 Module Test1.
2
3 Module Type Foo.
4 Parameter t : unit.
5 End Foo.
6
7 Module Bar : Foo.
8 Module Type Rnd. Definition t' : unit := tt. End Rnd.
9 Module Rnd_inst : Rnd. Definition t' : unit := tt. End Rnd_inst.
10 Definition t : unit.
11 exact Rnd_inst.t'.
12 Qed.
13 End Bar.
14
15 Print Assumptions Bar.t.
16 End Test1.
17
18 Module Test2.
19 Module Type Foo.
20 Parameter t1 : unit.
21 Parameter t2 : unit.
22 End Foo.
23
24 Module Bar : Foo.
25 Inductive ind := .
26 Definition t' : unit := tt.
27 Definition t1 : unit.
28 Proof.
29 exact ((fun (_ : ind -> False) => tt) (fun H => match H with end)).
30 Qed.
31 Definition t2 : unit.
32 Proof.
33 exact t'.
34 Qed.
35 End Bar.
36
37 Print Assumptions Bar.t1.
38 Print Assumptions Bar.t1.
39 End Test2.