mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
12 lines
208 B
Rust
12 lines
208 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])
|
|
};
|
|
}
|