From caa107925728b2cd725c6e1fdce03f3d25c3863a Mon Sep 17 00:00:00 2001 From: Dan Luu Date: Sun, 14 Apr 2013 11:35:58 -0400 Subject: [PATCH] Fix xfail'd ARC test --- src/test/run-pass/bind-by-move.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); },