mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
9 lines
274 B
Rust
9 lines
274 B
Rust
//@ 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]>());
|
|
}
|