Add regression test (fixes #2234)

This commit is contained in:
Oliver Schneider
2017-11-29 16:05:13 +01:00
parent f65a022ace
commit e62727ee51

View File

@@ -6,4 +6,9 @@ pub fn retry<F: Fn()>(f: F) {
}
}
fn main() {}
fn main() {
for y in 0..4 {
let func = || ();
func();
}
}