lean4-htt/tests/lean/run/struc_names.lean
Daniel Selsam a9b01991c2 feat(frontends/lean/inductive_cmd): new frontend for the inductive cmd
Conflicts:
	src/frontends/lean/CMakeLists.txt
	src/frontends/lean/structure_cmd.h
2016-08-17 07:34:03 -07:00

12 lines
187 B
Text

namespace foo
structure [class] structA :=
mk :: (a : nat)
structure [class] structB extends structA :=
mk :: (b : nat)
check @structA.a
check @structB.to_structA
end foo