add test case for issue-61076

This commit is contained in:
csmoe 2020-05-06 18:43:56 +08:00
parent 8d16eeb8c9
commit 32a46e9115

View file

@ -0,0 +1,12 @@
// edition:2018
async fn foo() -> Result<(), ()> {
Ok(())
}
async fn bar() -> Result<(), ()> {
foo()?;
Ok(())
}
fn main() {}