Add regression test (fixes #2234)

This commit is contained in:
Oliver Schneider 2017-11-29 16:05:13 +01:00
parent f65a022ace
commit e62727ee51
No known key found for this signature in database
GPG key ID: A69F8D225B3AD7D9

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();
}
}