test(tests/lean): alias command error
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
a3af87f8d3
commit
d29d23cade
2 changed files with 5 additions and 0 deletions
2
tests/lean/alias3.lean
Normal file
2
tests/lean/alias3.lean
Normal file
|
@ -0,0 +1,2 @@
|
|||
alias A : Bool
|
||||
alias A : Nat
|
3
tests/lean/alias3.lean.expected.out
Normal file
3
tests/lean/alias3.lean.expected.out
Normal file
|
@ -0,0 +1,3 @@
|
|||
Set: pp::colors
|
||||
Set: pp::unicode
|
||||
Error (line: 2, pos: 13) alias 'A' was already defined
|
Loading…
Reference in a new issue