summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/attribute-rendering.rs
blob: 36e10923c85354e44ef7658f031ed5e5b49fd090 (plain)
1
2
3
4
5
6
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() {}