Skip to content

Commit d73bf62

Browse files
committed
testsuite: Add xfailed test for #4542
1 parent d5c6d94 commit d73bf62

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/test/run-pass/issue-4542.rs

+1-10
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,11 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// xfail-test
1112
fn main() {
12-
let a = &~1;
13-
let mut c: ~int;
14-
match copy *a {
15-
b => c = b
16-
};
17-
log(error, *c);
18-
log(error, *a);
19-
20-
/*
2113
for os::args().each |arg| {
2214
match copy *arg {
2315
s => { }
2416
}
2517
}
26-
*/
2718
}

0 commit comments

Comments
 (0)