rust/tests/ui/issues/issue-30615.rs
2023-01-11 09:32:08 +00:00

6 lines
122 B
Rust

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