Sign in
android
/
toolchain
/
rustc
/
89a0a0cd9cbd0a0138a09bd877bbc73859a8c330
/
.
/
src
/
test
/
ui
/
intrinsics
/
intrinsic-raw_eq-const-padding.rs
blob: a93d777d286567dde47b21f064550271ca241296 [
file
] [
log
] [
blame
]
#![
feature
(
core_intrinsics
)]
#![
feature
(
const_intrinsic_raw_eq
)]
const
BAD_RAW_EQ_CALL
:
bool
=
unsafe
{
std
::
intrinsics
::
raw_eq
(&(
1
_u8
,
2
_u16
),
&(
1
_u8
,
2
_u16
))
//~^ ERROR evaluation of constant value failed
};
pub
fn
main
()
{
}