Add test
This commit is contained in:
parent
d38dbcb19f
commit
32cd4bc790
1 changed files with 18 additions and 0 deletions
18
src/test/rustdoc/intra-link-extern-type.rs
Normal file
18
src/test/rustdoc/intra-link-extern-type.rs
Normal file
|
|
@ -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() {
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue