summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/attribute-rendering.rs
blob: 6777871846e2d35bed0120751fe83e9acacdfc50 (plain)
1
2
3
4
5
6
7
#![crate_name = "foo"]

// @has 'foo/fn.f.html'
// @has - //*[@'class="docblock item-decl"]' '#[export_name = "f"] pub fn f()'
#[export_name = "\
f"]
pub fn f() {}