Files
rust/tests/panic/panic/unsupported_foreign_function.rs
T
2022-07-08 16:08:32 +00:00

12 lines
140 B
Rust

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