Sign in
fuchsia
/
third_party
/
rust
/
ebf574fb97e8a771972ba5866bf395ecce3d14be
/
.
/
src
/
tools
/
miri
/
tests
/
panic
/
unsupported_syscall.rs
blob: 31d666e1d9d80f6f3a151631dd852c356f784524 [
file
] [
log
] [
blame
]
//@ignore-target-windows: No libc on Windows
//@ignore-target-apple: `syscall` is not supported on macOS
//@compile-flags: -Zmiri-panic-on-unsupported
fn
main
()
{
unsafe
{
libc
::
syscall
(
0
);
}
}