Skip to content

Commit 9ae7130

Browse files
committed
Add regression test
1 parent f9a2664 commit 9ae7130

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// check-pass
2+
// Regression test for #78507.
3+
fn foo() -> Option<fn() -> Option<bool>> {
4+
Some(|| Some(true))
5+
}
6+
fn main() {}

0 commit comments

Comments
 (0)