]> git.lizzy.rs Git - rust.git/blob - src/test/compile-fail/consts/issue-55878.rs
541befa7b1310d2987f27c7e9c6286d54cebbe9d
[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 }