blob: 1029c75f17d2eda734e385ce0630e88ce284daf3 [file] [log] [blame]
#![feature(const_raw_ptr_deref)]
const REG_ADDR: *const u8 = 0x5f3759df as *const u8;
const VALUE: u8 = unsafe { *REG_ADDR };
//~^ ERROR any use of this value will cause an error
fn main() {
}