Sign in
fuchsia
/
third_party
/
rust
/
780f95dd182b1a432159430add57e9ab7cb45dd6
/
.
/
tests
/
ui
/
consts
/
raw-ptr-const.rs
blob: 2946c9b4a8e9c0d1c8d2aa28524c91e1d3b2d342 [
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
()
{}