rust/tests/ui/async-await/expansion-in-attrs.rs
2023-01-11 09:32:08 +00:00

14 lines
171 B
Rust

// check-pass
// edition:2018
macro_rules! with_doc {
($doc: expr) => {
#[doc = $doc]
async fn f() {}
};
}
with_doc!(concat!(""));
fn main() {}