1 #![crate_name = "foo"]
2 
3 // @has foo/fn.f.html '//*[@class="rust fn"]' '#[no_mangle]'
4 #[no_mangle]
f()5 pub extern "C" fn f() {}
6 
7 // @has foo/fn.g.html '//*[@class="rust fn"]' '#[export_name = "bar"]'
8 #[export_name = "bar"]
g()9 pub extern "C" fn g() {}
10 
11 // @has foo/struct.Repr.html '//*[@class="docblock item-decl"]' '#[repr(C, align(8))]'
12 #[repr(C, align(8))]
13 pub struct Repr;
14