Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use std::i32;
- fn main() {
- let mut n: i32 = i32::max_value();
- // Overflow
- n = n + 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement