summaryrefslogtreecommitdiffstats
path: root/src/test/ui/async-await/expansion-in-attrs.rs
blob: af77c3463b5ddb4d8c15ca982eb7f84c44a0fdb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// check-pass
// edition:2018

macro_rules! with_doc {
    ($doc: expr) => {
        #[doc = $doc]
        async fn f() {}
    };
}

with_doc!(concat!(""));

fn main() {}