Debian Codegraph @

test-suite/bugs/bug_18194.v

raw
1 Require Import Corelib.Program.Tactics.
2
3 Program Definition a := Eval cbv zeta in (fun (a : True) => (?[A] : nat),
4 let r :=
5 let b := I in match tt with tt => b end
6 in
7 ?A@{a := r},
8 fun (a : True) => (eq_refl : ?A = _)).
9
10 Next Obligation.
11 destruct a; exact 0.
12 Defined.
13 (* This used to fail with the message:
14 File "test-suite/bugs/bug_18194.v", line 12, characters 0-8:
15 Error:
16 Unbound reference: In environment
17 anonymous' : unit
18 The reference 3 is free.
19 *)