]> git.lizzy.rs Git - rust.git/blob - src/test/ui/async-await/expansion-in-attrs.rs
Rollup merge of #71627 - ldm0:autoderefarg, r=Dylan-DPC
[rust.git] / src / test / ui / async-await / expansion-in-attrs.rs
1 // check-pass
2 // edition:2018
3
4 macro_rules! with_doc {
5     ($doc: expr) => {
6         #[doc = $doc]
7         async fn f() {}
8     };
9 }
10
11 with_doc!(concat!(""));
12
13 fn main() {}