Files
rust/tests/ui/consts/promoted_size_overflow.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
149 B
Rust
Raw Normal View History

//@ only-64bit
pub struct Data([u8; usize::MAX >> 2]);
const _: &'static [Data] = &[];
//~^ ERROR: too big for the target architecture
fn main() {}