diff options
Diffstat (limited to 'tests/ui/attributes/unix_sigpipe/unix_sigpipe.rs')
-rw-r--r-- | tests/ui/attributes/unix_sigpipe/unix_sigpipe.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/attributes/unix_sigpipe/unix_sigpipe.rs b/tests/ui/attributes/unix_sigpipe/unix_sigpipe.rs new file mode 100644 index 000000000..7bf1c7350 --- /dev/null +++ b/tests/ui/attributes/unix_sigpipe/unix_sigpipe.rs @@ -0,0 +1,4 @@ +#![feature(unix_sigpipe)] + +#[unix_sigpipe] //~ error: valid values for `#[unix_sigpipe = "..."]` are `inherit`, `sig_ign`, or `sig_dfl` +fn main() {} |