lean2/tests/lean/run/968.lean
2016-02-04 15:45:38 -08:00

15 lines
224 B
Text

variables (A : Type) [inhabited A]
definition f (a : A) : A := a
check @f nat nat.is_inhabited
structure foo :=
(a : A)
check @foo nat nat.is_inhabited
inductive bla :=
| mk : A → bla
check @bla nat nat.is_inhabited