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

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