Adding xfailed test for #3874
This commit is contained in:
parent
abab49b7cf
commit
b269ac13cd
9
src/test/run-pass/issue-3874.rs
Normal file
9
src/test/run-pass/issue-3874.rs
Normal file
@ -0,0 +1,9 @@
|
||||
// xfail-test
|
||||
enum PureCounter { PureCounter(uint) }
|
||||
|
||||
pure fn each(self: PureCounter, blk: fn(v: &uint)) {
|
||||
let PureCounter(ref x) = self;
|
||||
blk(x);
|
||||
}
|
||||
|
||||
fn main() {}
|
Loading…
Reference in New Issue
Block a user