about summary refs log tree commit diff
path: root/tests/rustdoc-js/foreign-type-path.rs
blob: f9228c7b9ac3138aa303cdfcab5b34ff686f7b4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#![feature(extern_types)]

pub mod aaaaaaa {

    extern "C" {
        pub type MyForeignType;
    }

    impl MyForeignType {
        pub fn my_method() {}
    }
}