mirror of
https://github.com/rust-lang/rust.git
synced 2026-03-23 17:15:14 +00:00
Add regression test (fixes #2234)
This commit is contained in:
@@ -6,4 +6,9 @@ pub fn retry<F: Fn()>(f: F) {
|
||||
}
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
fn main() {
|
||||
for y in 0..4 {
|
||||
let func = || ();
|
||||
func();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user