Debian Codegraph @

test-suite/bugs/bug_16057.v

raw
1 Record squash (A : Type) : Prop := sq { _ : A }.
2
3 (* This is a contrived test to check that squash is *not* template poly. A
4 template poly behaves as is it were living in Type for typing purposes,
5 so the name [H] below generated for the hypothesis would be instead based on
6 the type of the argument (i.e. [f] for [False]). *)
7 Goal squash False -> True.
8 Proof.
9 intros [?].
10 destruct H.
11 Qed.