auto merge of #5881 : danluu/rust/xfail_bind_by_move, r=graydon
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.
This commit is contained in:
commit
7b152baddf
@ -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); },
|
||||
|
Loading…
Reference in New Issue
Block a user