blob: 02b7c299aa40a35f1be9e424e21cf40d37cd1b89 [file] [log] [blame]
// run-pass
#![allow(incomplete_features)]
#![feature(unsized_locals)]
fn main() {
let foo: Box<[u8]> = Box::new(*b"foo");
let _foo: [u8] = *foo;
}