2020-12-28 20:15:16 +03:00
|
|
|
// build-fail
|
2019-08-04 21:18:05 -07:00
|
|
|
// normalize-stderr-64bit "18446744073709551615" -> "SIZE"
|
|
|
|
// normalize-stderr-32bit "4294967295" -> "SIZE"
|
|
|
|
|
2020-11-18 10:42:49 +01:00
|
|
|
// error-pattern: are too big for the current 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
|
|
|
}
|