Guest User

Untitled

a guest
Dec 10th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. fn main() {
  2. let mut x: i32 = unsafe { std::mem::uninitialized() };
  3. fn foo(x: *mut i32) { unsafe { *x = 3; } }
  4. foo(&mut x);
  5. }
Add Comment
Please, Sign In to add comment