summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/const-points-to-static.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/const-points-to-static.rs')
-rw-r--r--src/test/ui/consts/const-points-to-static.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/consts/const-points-to-static.rs b/src/test/ui/consts/const-points-to-static.rs
deleted file mode 100644
index ca825a1f5..000000000
--- a/src/test/ui/consts/const-points-to-static.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-// compile-flags: -Zunleash-the-miri-inside-of-you
-// stderr-per-bitwidth
-
-#![allow(dead_code)]
-
-const TEST: &u8 = &MY_STATIC;
-//~^ ERROR it is undefined behavior to use this value
-//~| encountered a reference pointing to a static variable
-
-static MY_STATIC: u8 = 4;
-
-fn main() {
-}