about summary refs log tree commit diff
path: root/tests/ui/async-await/expansion-in-attrs.rs
blob: 040c8d9834be4faf9729d0df930cdf142d1763f9 (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() {}