]> git.lizzy.rs Git - rust.git/commitdiff
testsuite: Un-xfail unit-like-struct-drop-run on Windows
authorTim Chevalier <chevalier@alum.wellesley.edu>
Mon, 30 Sep 2013 18:41:34 +0000 (11:41 -0700)
committerTim Chevalier <chevalier@alum.wellesley.edu>
Mon, 30 Sep 2013 20:30:19 +0000 (13:30 -0700)
Closes #7999

src/test/run-pass/unit-like-struct-drop-run.rs

index b8ca66e89793a15c379c329b85a5fc285a06ffea..7b450168cc4a8282005d82ab5a180cc802ad0e94 100644 (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 @@ fn drop(&mut self) {
     }
 }
 
-fn main() {
+pub fn main() {
     let x = do task::try {
         let _b = Foo;
     };