]> git.lizzy.rs Git - rust.git/blob - src/test/ui/limits/issue-55878.rs
Rollup merge of #97317 - GuillaumeGomez:gui-settings-text-click, r=jsha
[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 }