]> git.lizzy.rs Git - rust.git/blob - tests/ui/modulo_one.rs
Move all our tests back to ui tests
[rust.git] / tests / ui / modulo_one.rs
1 #![feature(plugin)]
2 #![plugin(clippy)]
3 #![warn(modulo_one)]
4 #![allow(no_effect, unnecessary_operation)]
5
6 fn main() {
7     10 % 1;
8     10 % 2;
9 }