tinyevil

Untitled

Jul 27th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. struct Foo{
  2. field x:ptr i32;
  3. }
  4.  
  5.  
  6. function foo(x:ref Foo){
  7. x->x // probably ok
  8. bar();
  9. x->x // is it still ok?
  10. }
Add Comment
Please, Sign In to add comment