commit | 14cbdeb5ca2538b11f941041f111ca5bf9cbb957 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Sat Oct 01 12:13:59 2016 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Sat Oct 01 15:37:12 2016 -0700 |
tree | 531aab5809b4b2727c8ed42d3bb44edb8e534fd0 | |
parent | 2a2e67c5105f3283f064056e9a6110ccfd695754 [diff] [blame] |
Comment parsing
diff --git a/tests/cases/comment.rs b/tests/cases/comment.rs new file mode 100644 index 0000000..d7ab22b --- /dev/null +++ b/tests/cases/comment.rs
@@ -0,0 +1,24 @@ +//! inner line doc comment + +/*! inner block doc comment + * + * /* nested block comment */ + */ + +// line comment + +/* block comment + * + * /* nested block comment */ + */ + +//// banner comment + +/// line doc comment + +/** block doc comment + * + * /* nested block comment */ + */ + +struct Success;