]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/tests/panic/unsupported_syscall.rs
Auto merge of #101030 - woppopo:const_location, r=scottmcm
[rust.git] / src / tools / miri / tests / panic / unsupported_syscall.rs
1 //@ignore-target-windows: No libc on Windows
2 //@ignore-target-apple: `syscall` is not supported on macOS
3 //@compile-flags: -Zmiri-panic-on-unsupported
4
5 fn main() {
6     unsafe {
7         libc::syscall(0);
8     }
9 }