]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-29053.rs
Make `output_filenames` a real query
[rust.git] / tests / ui / issues / issue-29053.rs
1 // run-pass
2 fn main() {
3     let x: &'static str = "x";
4
5     {
6         let y = "y".to_string();
7         let ref mut x = &*x;
8         *x = &*y;
9     }
10
11     assert_eq!(x, "x");
12 }