]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/int_ptr_for_zst_slices.rs
Stabilize File::options()
[rust.git] / src / test / ui / consts / int_ptr_for_zst_slices.rs
1 // build-pass (FIXME(62277): could be check-pass?)
2
3 #![feature(const_raw_ptr_deref)]
4
5 const FOO: &str = unsafe { &*(1_usize as *const [u8; 0] as *const [u8] as *const str) };
6
7 fn main() {}