Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
consts
/
raw-ptr-const.rs
blob: 2946c9b4a8e9c0d1c8d2aa28524c91e1d3b2d342 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
// This is a regression test for a `span_delayed_bug` during interning when a constant
// evaluates to a (non-dangling) raw pointer.
const
CONST_RAW
:
*
const
Vec
<
i32
>
=
&
Vec
::
new
()
as
*
const
_
;
fn
main
()
{}