Debian Codegraph @

gcc/testsuite/rust/compile/const_async_function.rs

raw
1 // { dg-additional-options "-frust-edition=2018" }
2 const async fn weird_function() {}
3 // { dg-error "functions cannot be both .const. and .async." "" { target *-*-* } .-1 }