Created
July 12, 2017 19:28
-
-
Save arielb1/48dc6f06681168ff8258254cbef149ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Foo {} | |
let foo: Foo; | |
let a: &'a mut &'aa mut Foo; | |
let b: &'b mut &'bb mut Foo; | |
let c: &'c mut &'cc mut Foo; | |
block START { | |
goto X; | |
} | |
block X { | |
b = &'b mut *a; | |
goto END; | |
} | |
block END { | |
*a = &'foo mut foo; | |
use(b); | |
} | |
assert X/1 in 'b; | |
assert b live at END; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment