2024-02-22 06:10:29 -06:00
|
|
|
//@ only-x86_64-unknown-linux-gnu
|
2022-06-28 21:29:51 -05:00
|
|
|
|
|
|
|
#![feature(const_transmute)]
|
|
|
|
|
|
|
|
const ZST: &[u8] = unsafe { std::mem::transmute(1usize) }; //~ ERROR cannot transmute between types of different sizes, or dependently-sized types
|