Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
lochsh committed Nov 18, 2020
1 parent d38dbcb commit 32cd4bc
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/test/rustdoc/intra-link-extern-type.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#![feature(extern_types)]

extern {
pub type ExternType;
}

impl ExternType {
pub fn f(&self) {

}
}

// @has 'intra_link_extern_type/foreigntype.ExternType.html'
// @has 'intra_link_extern_type/fn.links_to_extern_type.html' \
// 'href="../intra_link_extern_type/foreigntype.ExternType.html#method.f"'
/// See also [ExternType::f]
pub fn links_to_extern_type() {
}

0 comments on commit 32cd4bc

Please sign in to comment.