Files
rust/tests/panic/panic/unsupported_foreign_function.rs
T
2022-06-01 10:53:38 -04:00

12 lines
140 B
Rust

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