mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 12:44:40 +00:00
testsuite: Add xfailed test for #4542
This commit is contained in:
parent
d5c6d94e7e
commit
d73bf62952
@ -8,20 +8,11 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// xfail-test
|
||||
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| {
|
||||
match copy *arg {
|
||||
s => { }
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
Loading…
Reference in New Issue
Block a user