]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/issue-68058.rs
Rollup merge of #106950 - the8472:fix-splice-miri, r=cuviper
[rust.git] / tests / ui / macros / issue-68058.rs
1 // check-pass
2
3 macro_rules! foo {
4     ($doc: expr) => {
5         fn f() {
6             #[doc = $doc]
7             ()
8         }
9     };
10 }
11
12 foo!("doc");
13
14 fn main() {}