summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/const-cast-wrong-type.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/const-cast-wrong-type.rs')
-rw-r--r--src/test/ui/consts/const-cast-wrong-type.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/test/ui/consts/const-cast-wrong-type.rs b/src/test/ui/consts/const-cast-wrong-type.rs
deleted file mode 100644
index 6e055a2bc..000000000
--- a/src/test/ui/consts/const-cast-wrong-type.rs
+++ /dev/null
@@ -1,5 +0,0 @@
-const a: [u8; 3] = ['h' as u8, 'i' as u8, 0 as u8];
-const b: *const i8 = &a as *const i8; //~ ERROR mismatched types
-
-fn main() {
-}