summaryrefslogtreecommitdiffstats
path: root/tests/ui/intrinsics/issue-84297-reifying-copy.rs
blob: 08ba9ce7ecb292962727e0acadf76adde1330a43 (plain)
1
2
3
4
5
6
7
8
9
// check-pass

fn main() {
    let _unused = if true {
        core::ptr::copy::<i32>
    } else {
        core::ptr::copy_nonoverlapping::<i32>
    };
}