rust/src/test/auxiliary/issue_2723_a.rs

4 lines
90 B
Rust
Raw Normal View History

#[legacy_exports];
2012-07-11 14:33:55 -05:00
unsafe fn f(xs: ~[int]) {
xs.map(|_x| { unsafe fn q() { fail; } });
}