Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
attributes
/
unix_sigpipe
/
unix_sigpipe-struct.rs
blob: 662779c0821773d4d1e00a781449028ce1635206 [
file
] [
log
] [
blame
]
#![
feature
(
unix_sigpipe
)]
#[
unix_sigpipe
=
"sig_dfl"
]
//~ error: `unix_sigpipe` attribute can only be used on `fn main()`
struct
S
;
fn
main
()
{}