Add regression test

This commit is contained in:
Esteban Küber 2020-10-29 08:32:13 -07:00
parent f9a26643ec
commit 9ae713057a

View File

@ -0,0 +1,6 @@
// check-pass
// Regression test for #78507.
fn foo() -> Option<fn() -> Option<bool>> {
Some(|| Some(true))
}
fn main() {}