diff options
Diffstat (limited to 'src/test/rustdoc/issue-41783.rs')
-rw-r--r-- | src/test/rustdoc/issue-41783.rs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/test/rustdoc/issue-41783.rs b/src/test/rustdoc/issue-41783.rs new file mode 100644 index 000000000..cb9b9b153 --- /dev/null +++ b/src/test/rustdoc/issue-41783.rs @@ -0,0 +1,19 @@ +// @has issue_41783/struct.Foo.html +// @!has - 'space' +// @!has - 'comment' +// @has - '# <span class="ident">single' +// @has - '## <span class="ident">double</span>' +// @has - '### <span class="ident">triple</span>' +// @has - '<span class="attribute">#[<span class="ident">outer</span>]</span>' +// @has - '<span class="attribute">#![<span class="ident">inner</span>]</span>' + +/// ```no_run +/// # # space +/// # comment +/// ## single +/// ### double +/// #### triple +/// ##[outer] +/// ##![inner] +/// ``` +pub struct Foo; |