]> git.lizzy.rs Git - rust.git/blob - src/test/compile-fail/consts/issue-55878.rs
Auto merge of #78995 - Nadrieril:clean-empty-match, r=varkor
[rust.git] / src / test / compile-fail / consts / issue-55878.rs
1 // normalize-stderr-64bit "18446744073709551615" -> "SIZE"
2 // normalize-stderr-32bit "4294967295" -> "SIZE"
3
4 // error-pattern: are too big for the current architecture
5 fn main() {
6     println!("Size: {}", std::mem::size_of::<[u8; std::u64::MAX as usize]>());
7 }