Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 154 Bytes
// run-pass
// pretty-expanded FIXME #23616
#![feature(box_syntax)]
fn foo(x: &mut Box<u8>) {
*x = box 5;
}
pub fn main() {
foo(&mut box 4);
}
You can’t perform that action at this time.