test: Add a simple region test, xfail'd in the pretty printer

This commit is contained in:
Patrick Walton 2012-03-08 17:45:11 -08:00
parent 8ce6b0dd21
commit c40bfec45d

View File

@ -0,0 +1,12 @@
// xfail-pretty
fn main() {
unsafe {
let x : int = 3;
let y : &mut int = &mut x;
*y = 5;
log(debug, *y);
}
}