]> git.lizzy.rs Git - rust.git/blob - src/test/ui/primitive-binop-lhs-mut.rs
Rollup merge of #102275 - Urgau:stabilize-half_open_range_patterns, r=cjgillot
[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 }