mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 13:06:28 +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();
|
|
}
|
|
}
|