☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
const_async_function.rs
☽
☼
gcc/testsuite/rust/compile/const_async_function.rs
code
plain
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 }