testsuite: Update test for #2478. Still xfailed

This commit is contained in:
Tim Chevalier 2013-05-21 12:58:27 -07:00
parent 64963d6cba
commit 1fadb97b68

View File

@ -9,7 +9,7 @@
// except according to those terms.
// xfail-test
fn foo() -> &'a int {
fn foo<'a>() -> &'a int { //~ ERROR unconstrained region
return &x;
}
static x: int = 5;