mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
Fix xfail'd ARC test
This commit is contained in:
parent
9f337a58ce
commit
caa1079257
@ -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