2 // normalize-stderr-test "\[&usize; \d+\]" -> "[&usize; N]"
3 // error-pattern: too big for the current architecture
5 // FIXME https://github.com/rust-lang/rust/issues/59774
6 // normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""
7 // normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> ""
9 #[cfg(target_pointer_width = "64")]
12 let a: Box<_> = Box::new([&n; 0xF000000000000000_usize]);
13 println!("{}", a[0xFFFFFF_usize]);
16 #[cfg(target_pointer_width = "32")]
19 let a: Box<_> = Box::new([&n; 0xFFFFFFFF_usize]);
20 println!("{}", a[0xFFFFFF_usize]);