about summary refs log tree commit diff
path: root/tests/rustdoc-js/pointer.rs
blob: 8375a17430360af82c1da682792cbe15da7c96f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#![feature(extern_types)]

pub fn pinky(input: *const usize, manage: usize) {
    unimplemented!()
}

pub struct Thumb;

impl Thumb {
    pub fn up(this: *const Self, finger: Thumb) {
        unimplemented!()
    }
}

pub enum Index {}

impl Index {
    pub fn point(self, data: *const Index) {
        unimplemented!()
    }
}

pub union Ring {
    magic: u32,
    marriage: f32,
}

impl Ring {
    pub fn wear(this: *mut Self, extra: *const Ring) {
        unimplemented!()
    }
}

extern "C" {
    pub type Middle;
}

pub fn show(left: *const *mut Middle, right: *mut *const Middle) {
    unimplemented!()
}