overflower 0.4.6

A compiler plugin to easily select overflow behavior for all integer operations of an item
#![feature(plugin)]
#![plugin(overflower)]

extern crate overflower_support;

macro_rules! id {
    ($x:expr) => { $x };
}

#[test]
#[overflow(wrap)]
fn test_macro_wrap() {
    id!(255u8 + 1);
}

#[test]
#[should_panic]
#[overflow(panic)]
fn test_macro_panic() {
    id!(127i8 + 1);
}