test(tests/lean/run): add 'export' command test
This commit is contained in:
parent
7d9d89bae6
commit
3f37c0e739
1 changed files with 12 additions and 0 deletions
12
tests/lean/run/export2.lean
Normal file
12
tests/lean/run/export2.lean
Normal file
|
@ -0,0 +1,12 @@
|
|||
open nat
|
||||
|
||||
definition foo := 30
|
||||
|
||||
namespace foo
|
||||
definition x : nat := 10
|
||||
definition y : nat := 20
|
||||
end foo
|
||||
|
||||
export foo
|
||||
|
||||
example : x + y = foo := rfl
|
Loading…
Reference in a new issue