]>
git.proxmox.com Git - rustc.git/blame - src/test/ui/async-await/expansion-in-attrs.rs
Commit | Line | Data |
ba9703b0 XL |
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() {} |