]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/expansion-in-attrs.rs
Rollup merge of #103236 - tspiteri:redoc-int-adc-sbb, r=m-ou-se
[rust.git] / tests / 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() {}