rust/tests/run-fail/panic/unsupported_foreign_function.rs

12 lines
140 B
Rust

// compile-flags: -Zmiri-panic-on-unsupported
fn main() {
extern "Rust" {
fn foo();
}
unsafe {
foo();
}
}