]> git.proxmox.com Git - rustc.git/blame - src/test/ui/async-await/expansion-in-attrs.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / async-await / expansion-in-attrs.rs
CommitLineData
ba9703b0
XL
1// check-pass
2// edition:2018
3
4macro_rules! with_doc {
5 ($doc: expr) => {
6 #[doc = $doc]
7 async fn f() {}
8 };
9}
10
11with_doc!(concat!(""));
12
13fn main() {}