Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct Foo{
- field x:ptr i32;
- }
- function foo(x:ref Foo){
- x.x // probably ok
- bar();
- x.x // is it still ok?
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement