rust/tests/panic/unsupported_foreign_function.rs
2022-08-06 15:30:00 -04:00

12 lines
140 B
Rust

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