mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 22:18:23 +03:00
12 lines
140 B
Rust
12 lines
140 B
Rust
// compile-flags: -Zmiri-panic-on-unsupported
|
|
|
|
fn main() {
|
|
extern "Rust" {
|
|
fn foo();
|
|
}
|
|
|
|
unsafe {
|
|
foo();
|
|
}
|
|
}
|