Sign in
◑
Theme
gnu
/
gcc.git
/
bb5c3bfcb28b423544676b30df5a3bc97e91c41f
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
const_async_function.rs
blob: 7e748af6de225ef01708c52cd0e9826801af3a6a [
file
]
// { dg-additional-options "-frust-edition=2018" }
#![
feature
(
no_core
)]
#![
no_core
]
const
async
fn
weird_function
()
{}
// { dg-error "functions cannot be both .const. and .async." "" { target *-*-* } .-1 }