rust/src/test/auxiliary/issue_2723_a.rs

3 lines
71 B
Rust
Raw Normal View History

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