summary refs log tree commit diff
path: root/src/test/compile-fail/consts/issue-55878.rs
blob: aa1dd58d2463d3237fd170666a63c55aad2849a7 (plain)
1
2
3
4
5
6
7
// normalize-stderr-64bit "18446744073709551615" -> "SIZE"
// normalize-stderr-32bit "4294967295" -> "SIZE"

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