Skip to content

Commit caa1079

Browse files
committed
Fix xfail'd ARC test
1 parent 9f337a5 commit caa1079

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/test/run-pass/bind-by-move.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// xfail-test
1211
// xfail-fast
1312
extern mod std;
1413
use std::arc;
15-
fn dispose(+_x: arc::ARC<bool>) unsafe { }
14+
fn dispose(+_x: arc::ARC<bool>) { unsafe { } }
1615

1716
pub fn main() {
18-
let p = arc::arc(true);
17+
let p = arc::ARC(true);
1918
let x = Some(p);
2019
match x {
2120
Some(z) => { dispose(z); },

0 commit comments

Comments
 (0)