2020-12-28 20:15:16 +03:00
|
|
|
//@ build-fail
|
2024-06-21 15:15:36 +10:00
|
|
|
//@ normalize-stderr-64bit: "18446744073709551615" -> "SIZE"
|
|
|
|
//@ normalize-stderr-32bit: "4294967295" -> "SIZE"
|
2019-08-04 21:18:05 -07:00
|
|
|
|
2024-09-20 00:39:10 -07:00
|
|
|
//@ error-pattern: are too big for the target architecture
|
2019-07-30 17:46:46 -07:00
|
|
|
fn main() {
|
2020-10-24 19:21:40 -04:00
|
|
|
println!("Size: {}", std::mem::size_of::<[u8; u64::MAX as usize]>());
|
2019-07-30 17:46:46 -07:00
|
|
|
}
|