2024-02-16 20:02:50 +00:00
|
|
|
//@ run-pass
|
2018-09-25 23:51:35 +02:00
|
|
|
#![allow(unused_variables)]
|
2015-07-19 15:46:57 -04:00
|
|
|
|
2023-12-27 17:11:58 -05:00
|
|
|
struct Node<T: ?Sized>(#[allow(dead_code)] T);
|
2015-07-19 15:46:57 -04:00
|
|
|
|
|
|
|
fn main() {
|
2022-07-07 04:36:10 +02:00
|
|
|
let x: Box<Node<[isize]>> = Box::new(Node([]));
|
2015-07-19 15:46:57 -04:00
|
|
|
}
|