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

12 lines
165 B
Text

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