mirror of
https://github.com/anoma/juvix.git
synced 2024-12-11 08:25:46 +03:00
[test] improve test for literals
This commit is contained in:
parent
3b685092d9
commit
09303131a8
@ -1,12 +1,20 @@
|
||||
module Literals;
|
||||
axiom Int : Type;
|
||||
axiom String : Type;
|
||||
axiom + : Int → Int → Int;
|
||||
a : Int;
|
||||
a := 12313;
|
||||
|
||||
b : Int;
|
||||
b := -008;
|
||||
|
||||
- : Int;
|
||||
- := 010;
|
||||
|
||||
-+-- : Int;
|
||||
-+-- := - + -+--;
|
||||
|
||||
|
||||
c : String;
|
||||
c := "hellooooo";
|
||||
end;
|
Loading…
Reference in New Issue
Block a user