mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
8 lines
249 B
Rust
8 lines
249 B
Rust
#![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() { }
|