Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
const_async_function.rs
blob: fb1c4dd4c1d77a130ed18a49f3733cf1895078f4 [
file
] [
log
] [
blame
]
// { dg-additional-options "-frust-edition=2018" }
const
async
fn
weird_function
()
{}
// { dg-error "functions cannot be both .const. and .async." "" { target *-*-* } .-1 }