This website requires JavaScript.
Explore
Help
Sign In
AleoHQ
/
leo
Watch
1
Star
1
Fork
0
You've already forked leo
mirror of
https://github.com/AleoHQ/leo.git
synced
2024-12-20 08:01:42 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
e2492ba9e4
leo
/
tests
/
compiler
/
integers
/
i16
/
negate_min.leo
10 lines
105 B
Plaintext
Raw
Normal View
History
Unescape
Escape
i*
2021-05-10 20:19:19 +03:00
/*
namespace: Compile
expectation: Pass
*/
impl negation tests for all types
2020-08-05 07:37:09 +03:00
function main() {
i*
2021-05-10 20:19:19 +03:00
const a = -128i16;
deprecate let mut, undeprecate const, let is now mutable by default
2021-03-18 22:19:07 +03:00
const b = -a;
i*
2021-05-10 20:19:19 +03:00
}
Reference in New Issue
Copy Permalink