☰
Debian Codegraph
@
9.2.0+dfsg-4
/
/
test-suite
/
bugs
/
bug_8791.v
☽
☼
test-suite/bugs/bug_8791.v
code
plain
raw
LGPL-2.1
1999-2021 The Coq Development Team,; Institut National de Recherche en Informatique et en Automatique (INRIA),; Centre National de la Recherche Scientifique (CNRS),; Microsoft corporation; and contributors
debian/copyright
1
Class Inhabited (A : Type) : Type := populate { inhabitant : A }.
2
3
Definition A := 42.
4
5
#[export] Instance foo (A: Type): Inhabited (list A).
6
Check A.
7
Abort.
8
9
Fail #[export] Instance foo (A : nat) (A : Type) : Inhabited nat.