]> git.lizzy.rs Git - rust.git/blob - src/test/ui/limits/issue-55878.rs
Merge commit '05677b6bd6c938ed760835d9b1f6514992654ae3' into sync_cg_clif-2021-08-06
[rust.git] / src / test / 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 }