lean4-htt/old_tests/tests/lean/bad_structures2.lean
2018-04-10 12:56:55 -07:00

32 lines
407 B
Text

structure foo :=
(x : bool)
structure boo :=
(x : nat)
structure bla extends foo, boo
structure boo2 :=
{x : bool}
structure bla extends foo, boo2
structure bla extends foo :=
(x : nat)
structure bla extends foo :=
( : nat)
structure bla extends foo :=
mk :: y z : nat
structure bla2 extends nat
structure bla2 extends Type
structure bla2 : Prop :=
(x : Prop)
structure bla3 : Prop :=
(x : nat)