Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 32a46e9

Browse files
committed
add test case for issue-61076
1 parent 8d16eeb commit 32a46e9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// edition:2018
2+
3+
async fn foo() -> Result<(), ()> {
4+
Ok(())
5+
}
6+
7+
async fn bar() -> Result<(), ()> {
8+
foo()?;
9+
Ok(())
10+
}
11+
12+
fn main() {}

0 commit comments

Comments
 (0)