about summary refs log tree commit diff
path: root/tests/ui/attributes/unix_sigpipe/unix_sigpipe-struct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/attributes/unix_sigpipe/unix_sigpipe-struct.rs')
-rw-r--r--tests/ui/attributes/unix_sigpipe/unix_sigpipe-struct.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/ui/attributes/unix_sigpipe/unix_sigpipe-struct.rs b/tests/ui/attributes/unix_sigpipe/unix_sigpipe-struct.rs
deleted file mode 100644
index 662779c0821..00000000000
--- a/tests/ui/attributes/unix_sigpipe/unix_sigpipe-struct.rs
+++ /dev/null
@@ -1,6 +0,0 @@
-#![feature(unix_sigpipe)]
-
-#[unix_sigpipe = "sig_dfl"] //~ error: `unix_sigpipe` attribute can only be used on `fn main()`
-struct S;
-
-fn main() {}