Adding xfailed test for #3874

This commit is contained in:
Tim Chevalier 2012-11-01 15:14:31 -07:00
parent abab49b7cf
commit b269ac13cd

View 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() {}