summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/std/slice.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/std/slice.rs')
-rw-r--r--src/test/ui/consts/std/slice.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/consts/std/slice.rs b/src/test/ui/consts/std/slice.rs
deleted file mode 100644
index f19defc64..000000000
--- a/src/test/ui/consts/std/slice.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-// build-pass (FIXME(62277): could be check-pass?)
-
-struct Wrap<T>(T);
-unsafe impl<T> Send for Wrap<T> {}
-unsafe impl<T> Sync for Wrap<T> {}
-
-static FOO: Wrap<*const u32> = Wrap([42, 44, 46].as_ptr());
-static BAR: Wrap<*const u8> = Wrap("hello".as_ptr());
-
-fn main() {}