diff --git a/src/test/run-pass/bind-by-move.rs b/src/test/run-pass/bind-by-move.rs index 1e836740f8e81..d3d0e48f5b0f7 100644 --- a/src/test/run-pass/bind-by-move.rs +++ b/src/test/run-pass/bind-by-move.rs @@ -8,14 +8,13 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// xfail-test // xfail-fast extern mod std; use std::arc; -fn dispose(+_x: arc::ARC) unsafe { } +fn dispose(+_x: arc::ARC) { unsafe { } } pub fn main() { - let p = arc::arc(true); + let p = arc::ARC(true); let x = Some(p); match x { Some(z) => { dispose(z); },