Sign in
android
/
toolchain
/
rustc
/
ee32a8b31351dab7161ea2edd877e46fc49c72d0
/
.
/
tests
/
ui
/
consts
/
raw-ptr-const.rs
blob: 24a77db9ffc5d674d5292dccc54b8cc5bee4bcb1 [
file
] [
log
] [
blame
]
// 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
()
{}