blob: cf77c113f4c61b5d57a607e6d52fcea9cc7a74dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// 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])
};
}
|