rust/tests/ui/attributes/unix_sigpipe/unix_sigpipe-non-root-main.rs
2023-01-11 09:32:08 +00:00

9 lines
173 B
Rust

#![feature(unix_sigpipe)]
mod m {
#[unix_sigpipe = "inherit"] //~ error: `unix_sigpipe` attribute can only be used on root `fn main()`
fn main() {}
}
fn main() {}