diff options
Diffstat (limited to 'tests/rustdoc/attribute-rendering.rs')
-rw-r--r-- | tests/rustdoc/attribute-rendering.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/rustdoc/attribute-rendering.rs b/tests/rustdoc/attribute-rendering.rs new file mode 100644 index 000000000..36e10923c --- /dev/null +++ b/tests/rustdoc/attribute-rendering.rs @@ -0,0 +1,7 @@ +#![crate_name = "foo"] + +// @has 'foo/fn.f.html' +// @has - //*[@'class="item-decl"]' '#[export_name = "f"] pub fn f()' +#[export_name = "\ +f"] +pub fn f() {} |