rust/tests/ui/issues/issue-30615.rs
2024-02-16 20:02:50 +00:00

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];
}