]> git.lizzy.rs Git - rust.git/blob - tests/ui/array-slice-vec/show-boxed-slice.rs
Auto merge of #106711 - albertlarsan68:use-ci-llvm-when-lld, r=jyn514
[rust.git] / tests / ui / array-slice-vec / show-boxed-slice.rs
1 // run-pass
2
3 #[derive(Debug)]
4 struct Foo(#[allow(unused_tuple_struct_fields)] Box<[u8]>);
5
6 pub fn main() {
7     println!("{:?}", Foo(Box::new([0, 1, 2])));
8 }