blob: 0dd7776d5954426f97d94d4954d65a9079d235c6 (
plain)
1
2
3
4
5
6
7
|
#![feature(transmute_generic_consts)]
fn overflow(v: [[[u32; 8888888]; 9999999]; 777777777]) -> [[[u32; 9999999]; 777777777]; 239] {
unsafe { std::mem::transmute(v) } //~ ERROR cannot transmute between types of different sizes
}
fn main() { }
|