Skip to content

Commit

Permalink
auto merge of #5881 : danluu/rust/xfail_bind_by_move, r=graydon
Browse files Browse the repository at this point in the history
Update an old test to pass. I'm not 100% sure what the intent of the test was, but it's hard to see how I could have corrupted the intent of the test from the tiny changes I made.
  • Loading branch information
bors committed Apr 15, 2013
2 parents 1ab1354 + caa1079 commit 7b152ba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/test/run-pass/bind-by-move.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<bool>) unsafe { }
fn dispose(+_x: arc::ARC<bool>) { unsafe { } }

pub fn main() {
let p = arc::arc(true);
let p = arc::ARC(true);
let x = Some(p);
match x {
Some(z) => { dispose(z); },
Expand Down

0 comments on commit 7b152ba

Please sign in to comment.