Debian Codegraph @

test-suite/bugs/bug_20308.v

raw
1 Axioms x y : nat.
2 Axiom e : x = y.
3
4 Obligation Tactic := rewrite e.
5
6 Module Type T. End T.
7
8 (* we use a functor to ensure side effects are not shared between the tests *)
9 Module WithQed (X:T).
10
11 Program Definition foo (P:forall a, x = a -> Type) : P x eq_refl -> P y e := _.
12
13 Next Obligation.
14 auto.
15 Qed.
16
17 End WithQed.
18
19 Module WithDefined (X:T).
20
21 Program Definition foo (P:forall a, x = a -> Type) : P x eq_refl -> P y e := _.
22
23 Next Obligation.
24 auto.
25 Defined.
26
27 End WithDefined.