auto merge of #9635 : catamorphism/rust/issue-7999, r=catamorphism

Closes #7999
This commit is contained in:
bors 2013-09-30 13:36:32 -07:00
commit 5c016857b7

View File

@ -9,7 +9,6 @@
// except according to those terms.
// Make sure the destructor is run for unit-like structs.
// xfail-fast
use std::task;
@ -21,7 +20,7 @@ impl Drop for Foo {
}
}
fn main() {
pub fn main() {
let x = do task::try {
let _b = Foo;
};