2018-07-12 11:10:39 -05:00
|
|
|
fn main() {
|
2018-07-17 06:46:48 -05:00
|
|
|
let _ = [0; (&0 as *const i32) as usize]; //~ ERROR casting pointers to integers in constants
|
2019-07-25 02:11:53 -05:00
|
|
|
//~^ ERROR evaluation of constant value failed
|
2018-07-12 11:10:39 -05:00
|
|
|
}
|