summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/raw-ptr-const.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/raw-ptr-const.rs')
-rw-r--r--src/test/ui/consts/raw-ptr-const.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/test/ui/consts/raw-ptr-const.rs b/src/test/ui/consts/raw-ptr-const.rs
deleted file mode 100644
index b9c542d03..000000000
--- a/src/test/ui/consts/raw-ptr-const.rs
+++ /dev/null
@@ -1,8 +0,0 @@
-// This is a regression test for a `delay_span_bug` during interning when a constant
-// evaluates to a (non-dangling) raw pointer. For now this errors; potentially it
-// could also be allowed.
-
-const CONST_RAW: *const Vec<i32> = &Vec::new() as *const _;
-//~^ ERROR untyped pointers are not allowed in constant
-
-fn main() {}