rust/tests/ui/ty_fn_sig.rs
Oliver Schneider 0b0337d258
Fix #2247
2017-11-29 15:52:57 +01:00

10 lines
105 B
Rust

// Regression test
pub fn retry<F: Fn()>(f: F) {
for _i in 0.. {
f();
}
}
fn main() {}