rust/tests/ui/transmute-non-immediate-to-immediate.rs
2023-01-11 09:32:08 +00:00

12 lines
206 B
Rust

// run-pass
// Issue #7988
// Transmuting non-immediate type to immediate type
// pretty-expanded FIXME #23616
pub fn main() {
unsafe {
::std::mem::transmute::<[isize; 1],isize>([1])
};
}