]> git.lizzy.rs Git - rust.git/blob - src/test/ui/primitive-binop-lhs-mut.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[rust.git] / src / test / ui / primitive-binop-lhs-mut.rs
1 // run-pass
2
3 fn main() {
4     let x = Box::new(0);
5     assert_eq!(0, *x + { drop(x); let _ = Box::new(main); 0 });
6 }