5 lines
163 B
Rust
5 lines
163 B
Rust
fn main() {
|
|
let _ = [0; (&0 as *const i32) as usize]; //~ ERROR casting pointers to integers in constants
|
|
//~^ ERROR evaluation of constant value failed
|
|
}
|