Add another XFAILed test for failing destructors

This commit is contained in:
Brian Anderson 2011-09-14 10:59:17 -07:00
parent ca0d3cae5c
commit ad2bdbee08

View file

@ -0,0 +1,13 @@
// error-pattern:fail
// xfail-test
resource r(i: int) {
// Double-fail!!
fail;
}
fn main() {
@0;
let r <- r(0);
fail;
}