summaryrefslogtreecommitdiffstats
path: root/tests/ui/limits/issue-55878.rs
blob: c1c54646db8714e5d4a4896b262fc208a1392a4a (plain)
1
2
3
4
5
6
7
8
// build-fail
// normalize-stderr-64bit "18446744073709551615" -> "SIZE"
// normalize-stderr-32bit "4294967295" -> "SIZE"

// error-pattern: are too big for the current architecture
fn main() {
    println!("Size: {}", std::mem::size_of::<[u8; u64::MAX as usize]>());
}