rust/tests/ui/consts/raw_pointer_promoted.rs
2024-02-16 20:02:50 +00:00

6 lines
79 B
Rust

//@ check-pass
pub const FOO: &'static *const i32 = &(&0 as _);
fn main() {}