summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-22403.rs
blob: 8d85590943519a9d502a8c5187c6e21c1338318b (plain)
1
2
3
4
5
6
// run-pass
fn main() {
    let x = Box::new([1, 2, 3]);
    let y = x as Box<[i32]>;
    println!("y: {:?}", y);
}