]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/tests/panic/unsupported_foreign_function.rs
Rollup merge of #99880 - compiler-errors:escape-ascii-is-not-exact-size-iterator...
[rust.git] / src / tools / miri / tests / panic / unsupported_foreign_function.rs
1 //@compile-flags: -Zmiri-panic-on-unsupported
2
3 fn main() {
4     extern "Rust" {
5         fn foo();
6     }
7
8     unsafe {
9         foo();
10     }
11 }