Sign in
rust
/
rust
/
a0f398e89df9767c93c81cd58d44fdba071258a8
/
.
/
tests
/
ui
/
inline-const
/
instance-doesnt-depend-on-type.rs
blob: c53aab60b06faaa55adf2e7c2f26195e2d878366 [
file
] [
log
] [
blame
]
//@ check-pass
// issue: 114660
fn
main
()
{
const
{
core
::
mem
::
transmute
::<
u8
,
u8
>
};
// Don't resolve the instance of this inline constant to be an intrinsic,
// even if the type of the constant is `extern "rust-intrinsic" fn(u8) -> u8`.
}