summaryrefslogtreecommitdiffstats
path: root/src/test/ui/coherence/coherence-negative-impls-safe-rpass.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/coherence/coherence-negative-impls-safe-rpass.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/ui/coherence/coherence-negative-impls-safe-rpass.rs b/src/test/ui/coherence/coherence-negative-impls-safe-rpass.rs
new file mode 100644
index 000000000..b87e162ac
--- /dev/null
+++ b/src/test/ui/coherence/coherence-negative-impls-safe-rpass.rs
@@ -0,0 +1,13 @@
+// run-pass
+#![allow(dead_code)]
+// pretty-expanded FIXME #23616
+
+#![feature(negative_impls)]
+
+use std::marker::Send;
+
+struct TestType;
+
+impl !Send for TestType {}
+
+fn main() {}