]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/neg_multiply.rs
Move MSRV tests into the lint specific test files
[rust.git] / tests / ui / neg_multiply.rs
index 7dbdb0906ceeb3e7f17c3b480b94c141f25bad01..581290dc72e43e87fccc68c6b322996a9ee55f1d 100644 (file)
@@ -38,6 +38,9 @@ fn main() {
 
     0xcafe | 0xff00 * -1;
 
+    3_usize as i32 * -1;
+    (3_usize as i32) * -1;
+
     -1 * -1; // should be ok
 
     X * -1; // should be ok