blob: 6e15f57e7ba902354b82d9e8b94116214b349c44 [file] [log] [blame] [edit]
// It actually checks that the link is kept in the headings as expected now.
#![crate_name = "foo"]
//@ has foo/fn.foo.html
//@ has - '//a[@href="http://a.a"]' 'stuff'
//@ has - '//*[@id="implementing-stuff-somewhere"]' 'Implementing stuff somewhere'
//@ has - '//a[@href="http://b.b"]' 'one'
//@ has - '//*[@id="another-one-urg"]' 'Another one urg'
/// fooo
///
/// # Implementing [stuff](http://a.a "title") somewhere
///
/// hello
///
/// # Another [one][two] urg
///
/// [two]: http://b.b
pub fn foo() {}