Debian Codegraph @

test-suite/bugs/bug_10894.v

raw
1 (* Check that uconstrs are interpreted in the ltac-substituted environment *)
2 (* Was a regression introduced in 4dab4fc (#7288) *)
3
4 Tactic Notation "bind" hyp(x) "in" uconstr(f) "as" ident(h) :=
5 set (h := fun x => f).
6
7 Fact test : nat -> nat.
8 Proof.
9 intros n.
10 bind n in (n*n) as f.
11 assert (f 0 = 0) by reflexivity.
12 Abort.