
Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
10 lines
175 B
Rust
10 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])
|
|
};
|
|
}
|