test(tests/lean/run): add overload test
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
01000ff7df
commit
626cd952e7
1 changed files with 14 additions and 0 deletions
14
tests/lean/run/over2.lean
Normal file
14
tests/lean/run/over2.lean
Normal file
|
@ -0,0 +1,14 @@
|
|||
import data.nat
|
||||
using nat
|
||||
|
||||
namespace N1
|
||||
definition foo (a : nat) := a
|
||||
end N1
|
||||
|
||||
namespace N2
|
||||
definition foo (a : nat) := a
|
||||
end N2
|
||||
|
||||
using N1 N2
|
||||
|
||||
definition boo := foo
|
Loading…
Reference in a new issue