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

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