1 static mut PTR: *mut u8 = 0 as *mut _;
10 // Now we use a pointer we are not allowed to use
11 let _x = unsafe { *PTR }; //~ ERROR: /read access .* tag does not exist in the borrow stack/
18 *val = 2; // this invalidates any raw ptrs `fun1` might have created.
19 fun2(); // if they now use a raw ptr they break our reference