Sign in
rust
/
miri
/
refs/heads/rustc_doublecheck
/
.
/
tests
/
panic
/
unsupported_foreign_function.rs
blob: b8301c507724cb7909f089f0529a114ce6e65c04 [
file
] [
log
] [
blame
] [
edit
]
//@compile-flags: -Zmiri-panic-on-unsupported
//@normalize-stderr-test: "OS `.*`" -> "$$OS"
fn
main
()
{
extern
"Rust"
{
fn
foo
();
}
unsafe
{
foo
();
}
}