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 }