testsuite: Add xfailed test for #4542
This commit is contained in:
parent
d5c6d94e7e
commit
d73bf62952
1 changed files with 1 additions and 10 deletions
|
@ -8,20 +8,11 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// xfail-test
|
||||||
fn main() {
|
fn main() {
|
||||||
let a = &~1;
|
|
||||||
let mut c: ~int;
|
|
||||||
match copy *a {
|
|
||||||
b => c = b
|
|
||||||
};
|
|
||||||
log(error, *c);
|
|
||||||
log(error, *a);
|
|
||||||
|
|
||||||
/*
|
|
||||||
for os::args().each |arg| {
|
for os::args().each |arg| {
|
||||||
match copy *arg {
|
match copy *arg {
|
||||||
s => { }
|
s => { }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue