1 // run-pass
2 // When expanding a macro, documentation attributes (including documentation comments) must be
3 // passed "as is" without being parsed. Otherwise, some text will be incorrectly interpreted as
4 // escape sequences, leading to an ICE.
5 //
6 // Related issues: #25929, #25943
7 
8 macro_rules! homura {
9     (#[$x:meta]) => ()
10 }
11 
12 homura! {
13     /// \madoka \x41
14 }
15 
main()16 fn main() { }
17