mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 22:18:23 +03:00
10 lines
186 B
Rust
10 lines
186 B
Rust
extern "Rust" {
|
|
fn miri_resolve_frame(ptr: *mut (), flags: u64);
|
|
}
|
|
|
|
fn main() {
|
|
unsafe {
|
|
miri_resolve_frame(0 as *mut _, 0); //~ ERROR 0x0 is not a valid pointer
|
|
}
|
|
}
|