mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-14 19:56:49 +00:00
11 lines
175 B
Rust
11 lines
175 B
Rust
//@ run-pass
|
|
// Issue #7988
|
|
// Transmuting non-immediate type to immediate type
|
|
|
|
|
|
pub fn main() {
|
|
unsafe {
|
|
::std::mem::transmute::<[isize; 1],isize>([1])
|
|
};
|
|
}
|