blob: 43e61dd7c1327f2439b3d8fc394af8b4fc552db4 [file] [log] [blame]
//@ check-pass
fn main() {
let x = 1;
-x;
-(-x);
--x; //~ WARN use of a double negation
---x; //~ WARN use of a double negation
let _y = --(-x); //~ WARN use of a double negation
}