Files
rust/tests/run-fail/panic/unsupported_foreign_function.rs
T
2022-05-25 13:31:26 +00:00

12 lines
140 B
Rust

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