rust/tests/ui/issues/issue-30615.rs

6 lines
123 B
Rust

//@ run-pass
fn main() {
&0u8 as *const u8 as *const dyn PartialEq<u8>;
&[0u8] as *const [u8; 1] as *const [u8];
}