Debian Codegraph @

gcc/testsuite/rust/compile/torture/all_doc_comment_line_blocks_crlf.rs

raw
1 // comment line not a doc
2 /* comment block not a doc */
3
4 //! inner line comment for most outer crate
5 /*! inner block comment for most outer crate */
6
7 // comment line not a doc
8 /* comment block not a doc */
9
10 /// outer doc line for module
11 /** outer doc block for module */
12 pub mod module
13 {
14 //! inner line doc
15 //!! inner line doc!
16 /*! inner block doc */
17 /*!! inner block doc! */
18
19 // line comment
20 /// outer line doc
21 //// line comment
22
23 /* block comment */
24 /** outer block doc */
25 /*** block comment */
26
27 mod block_doc_comments
28 {
29 /* /* */ /** */ /*! */ */
30 /*! /* */ /** */ /*! */ */
31 /** /* */ /** */ /*! */ */
32 mod item { }
33 }
34
35 pub mod empty
36 {
37 //!
38 /*!*/
39 //
40
41 ///
42 mod doc { }
43
44 /**/
45 /***/
46 }
47 }
48 pub fn main () { }