mirror of
https://github.com/rust-lang/rust
synced 2024-09-06 01:11:17 +00:00
25 lines
435 B
Rust
25 lines
435 B
Rust
use std::ptr;
|
|
|
|
pub struct Aaaaaaa {}
|
|
|
|
pub fn bbbbbbb() -> *const Aaaaaaa {
|
|
ptr::null()
|
|
}
|
|
|
|
pub struct Ccccccc {}
|
|
|
|
impl Ccccccc {
|
|
pub fn ddddddd(&self) -> *const Aaaaaaa {
|
|
ptr::null()
|
|
}
|
|
pub fn eeeeeee(&self, _x: *const Aaaaaaa) -> i32 {
|
|
0
|
|
}
|
|
pub fn fffffff(&self, x: *const Aaaaaaa) -> *const Aaaaaaa {
|
|
x
|
|
}
|
|
pub fn ggggggg(&self, x: *mut Aaaaaaa) -> *mut Aaaaaaa {
|
|
x
|
|
}
|
|
}
|