rust/tests/panic/unsupported_foreign_function.rs

12 lines
140 B
Rust
Raw Normal View History

2022-07-08 11:08:32 -05:00
//@compile-flags: -Zmiri-panic-on-unsupported
fn main() {
extern "Rust" {
fn foo();
}
unsafe {
foo();
}
}