summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-30615.rs
blob: c718449d84eed48676e61c6eee6cc1963b073a0d (plain)
1
2
3
4
5
// run-pass
fn main() {
    &0u8 as *const u8 as *const dyn PartialEq<u8>;
    &[0u8] as *const [u8; 1] as *const [u8];
}