blob: c3eab8e19006e07330615b40a873bceaeef721a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// xfail-test
extern mod std;
use std::arc;
fn dispose(+_x: arc::ARC<bool>) unsafe { }
fn main() {
let p = arc::arc(true);
let x = some(p);
match move x {
some(move z) => { dispose(z); },
none => fail
}
}
|