add a test case

This commit is contained in:
mojave2 2023-09-16 00:05:57 +08:00
parent c81888eab3
commit 7426c83d8f
No known key found for this signature in database
2 changed files with 4 additions and 0 deletions

View file

@ -177,3 +177,5 @@ fn attributes() {
async fn issue10433() { async fn issue10433() {
let _pending: () = std::future::pending().await; let _pending: () = std::future::pending().await;
} }
pub async fn issue11502(a: ()) {}

View file

@ -177,3 +177,5 @@ fn attributes() {
async fn issue10433() { async fn issue10433() {
let _pending: () = std::future::pending().await; let _pending: () = std::future::pending().await;
} }
pub async fn issue11502(a: ()) {}