mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
Add test
This commit is contained in:
parent
d38dbcb19f
commit
32cd4bc790
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…
Reference in New Issue
Block a user