]> git.lizzy.rs Git - rust.git/blob - tests/ui/limits/issue-55878.rs
Rollup merge of #106570 - Xaeroxe:div-duration-tests, r=JohnTitor
[rust.git] / tests / ui / limits / issue-55878.rs
1 // build-fail
2 // normalize-stderr-64bit "18446744073709551615" -> "SIZE"
3 // normalize-stderr-32bit "4294967295" -> "SIZE"
4
5 // error-pattern: are too big for the current architecture
6 fn main() {
7     println!("Size: {}", std::mem::size_of::<[u8; u64::MAX as usize]>());
8 }