rust/tests/ui/intrinsics/issue-84297-reifying-copy.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
154 B
Rust
Raw Normal View History

2021-06-04 15:23:18 -05:00
// check-pass
fn main() {
let _unused = if true {
core::ptr::copy::<i32>
} else {
core::ptr::copy_nonoverlapping::<i32>
};
}