mirror of
https://github.com/anoma/juvix.git
synced 2025-01-05 22:46:08 +03:00
[tests] add two negative tests to check new errors
This commit is contained in:
parent
1bda862266
commit
cbc9a409ca
7
tests/negative/InfixError.mjuvix
Normal file
7
tests/negative/InfixError.mjuvix
Normal file
@ -0,0 +1,7 @@
|
||||
module InfixError;
|
||||
|
||||
infix 5 + ;
|
||||
axiom + : Type → Type → Type;
|
||||
|
||||
axiom T : Type + Type + ;
|
||||
end;
|
7
tests/negative/MultipleDeclarations.mjuvix
Normal file
7
tests/negative/MultipleDeclarations.mjuvix
Normal file
@ -0,0 +1,7 @@
|
||||
module MultipleDeclarations;
|
||||
|
||||
axiom a : Type;
|
||||
|
||||
|
||||
axiom a : Type;
|
||||
end;
|
Loading…
Reference in New Issue
Block a user