Sign in
rust
/
miri
/
refs/heads/error_writer2
/
.
/
tests
/
panic
/
unsupported_syscall.rs
blob: bbb076b169a6af94716960091b0f92b2bce0734b [
file
] [
log
] [
blame
] [
edit
]
//@ignore-target: windows # no `syscall` on Windows
//@ignore-target: apple # `syscall` is not supported on macOS
//@compile-flags: -Zmiri-panic-on-unsupported
fn
main
()
{
unsafe
{
libc
::
syscall
(
0
);
}
}